TL
Serialization
The library has implementation of automatic serialization/deserialization of TL - Type Language Schemes. To serialize some data provide Scheme and dict with arguments:
BlockId
For convenience there are 2 TL schemes wrappers: BlockId
and BlockIdExt
They have to_dict
and from_dict
methods. BlockIdExt
also has to_bytes
and from_bytes
methods, __repr__
, __eq__
and __hash__
magic methods.
Last updated