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).
StaticSIZEReads 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 integer value from the provided BytesIO stream.
The BytesIO instance to read from.
Whether to read the value as a signed integer. Defaults to true.
Whether to use little-endian byte order. Defaults to true.
The number of bytes to read. Defaults to Long.SIZE.
A promise that resolves to the read value as a bigint.
StaticwriteSerializes a 64-bit integer value into a Buffer.
The bigint value to write into the buffer.
Whether the value should be written as a signed integer. Defaults to true.
Whether to use little-endian byte order. Defaults to true.
A Buffer containing the serialized 64-bit integer.
tgsnake - Telegram MTProto library for javascript or typescript. Copyright (C) 2025 tgsnake https://github.com/tgsnake
THIS FILE IS PART OF TGSNAKE
tgsnake is a free software: you can redistribute it and/or modify it under the terms of the MIT License as published.