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.
StaticreadReads a 64-bit floating point number (double) from the provided BytesIO stream.
The BytesIO instance to read from.
Optional. If true (default), reads the value as little-endian; otherwise, reads as big-endian.
A promise that resolves to the read double value.
StaticwriteSerializes a double-precision floating-point number into a Buffer.
The number to serialize.
If true, writes the number in little-endian format; otherwise, writes in big-endian format. Defaults to true.
A Buffer containing the serialized double value.
Double is a class representing a double-precision floating-point number in the Telegram MTProto protocol. It provides methods to read and write these numbers in a specified format.