Internal array of slot names for the object.
Name of the class.
Type of the class.
Reference to the constructor of the current class (late static binding).
Unique identifier for the constructor.
Identifier for the parent class (if any).
Reads data from the provided BytesIO instance and processes it using the associated class's read method.
The BytesIO instance containing the data to be read.
Additional arguments to be passed to the class's read method.
A promise that resolves with the result of the read operation.
Serializes the provided arguments using the associated class's write method.
The arguments to be serialized.
The resulting Buffer after serialization.
StaticreadAsynchronously reads a sequence of bytes from the provided BytesIO instance
and decodes it into a UTF-8 string.
The BytesIO instance to read bytes from.
Additional arguments (unused).
A promise that resolves to the decoded UTF-8 string.
StaticwriteSerializes a string value into a Buffer using UTF-8 encoding.
The string to be serialized.
A Buffer containing the UTF-8 encoded bytes of the input string.
String is a class representing a string in the Telegram MTProto protocol. It provides methods to read and write these strings in a specified format.