tl v57.2.0-rc TL.Str

Module for working with string and byte data types

Summary

Functions

Accepts packet with string/binary and returns decoded data with the rest of the accepted binary

Encodes any string/binary as described in TL protocol

Functions

decode(packet)
decode(binary) :: {binary, binary}

Accepts packet with string/binary and returns decoded data with the rest of the accepted binary

encode(str)
encode(binary) :: binary

Encodes any string/binary as described in TL protocol