{Buffer}
Gets the byte array representing the current buffer as a whole.
Read the given amount of bytes, or -1 to read all remaining.
{number}
{boolean} whether to check if the length overflows or not.
Reads a single byte value.
Reads a real floating point (8 bytes) value.
Reads a real floating point (4 bytes) value.
Reads an integer (4 bytes or 32 bits) value.
{Boolean}
Reads a n-bits long integer value.
{Boolean}
Reads a long integer (8 bytes or 64 bits) value.
Seeks the stream position given an offset from the current position. The offset may be negative.
Sets the current position on the stream.
Tells the current position on the stream.
Reads a Telegram boolean value.
Reads a Telegram-encoded byte array, without the need of specifying its length.
Reads and converts Unix time (used by Telegram) into a Javascript {Date} object.
Reads a Telegram object.
Reads a Telegram-encoded string.
Reads a vector (a list) of Telegram objects.
Small utility class to read binary data.