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 an integer value from the provided BytesIO stream.
The byte stream to read from.
Whether the integer should be interpreted as signed. Defaults to true.
Whether the byte order is little-endian. Defaults to true.
The number of bytes to read. Defaults to Int256.SIZE.
A promise that resolves to the read integer as a bigint.
StaticwriteSerializes a bigint value into a Buffer, representing a 256-bit integer.
The bigint 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 bigint value.
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.