miniproto.tl.codec.encode_bytes
miniproto.tl.codec.encode_bytes
Section titled “miniproto.tl.codec.encode_bytes”encode_bytes(value: bytes) -> bytesEncode TL’s length-prefixed, padded byte-string value.
Parameters:
- value (
bytes) – Raw byte value.
Returns:
bytes– TL byte-string encoding including its length and padding.