Writers map
Position to start writing at
ReadonlydataReadonlyobjectWriters map
Current position in the buffer.
Readonlyuint8Write raw bytes to the buffer
Buffer to write
Get the resulting buffer
Optionalbare: booleanStaticallocCreate a new writer with the given size.
Writers map
Size of the writer's buffer
StaticmanualCreate a new writer without objects map for manual usage
Buffer to write to, or its size
Position to start writing at
StaticserializeSerialize a single object
Writers map
Object to serialize
In case the size is known, pass it here
Writer for TL objects.