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 signed or unsigned integer of specified size and endianness from a BytesIO stream.
The BytesIO stream to read from.
Whether the integer should be interpreted as signed. Defaults to true.
Whether to use little-endian byte order. Defaults to true.
The number of bytes to read. Defaults to Int128.SIZE.
A Promise that resolves to the read integer as a bigint.
StaticwriteSerializes a 128-bit integer (bigint) value into a Buffer.
The 128-bit integer value to serialize.
Indicates whether the integer is signed. Defaults to true.
Indicates whether to use little-endian byte order. Defaults to true.
A Buffer containing the serialized bytes of the 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.