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