miniproto.tl.codec.decode_vector
miniproto.tl.codec.decode_vector
Section titled “miniproto.tl.codec.decode_vector”decode_vector(data: bytes | memoryview, offset: int, item_type: str) -> tuple[tuple[Any, ...], int]Decode a boxed TL vector.
Parameters:
- data (
bytes | memoryview) – TL wire bytes. - offset (
int) – Offset at the vector constructor. - item_type (
str) – Schema type of each item.
Returns:
Raises:
TLCodecError– If the constructor or count is invalid.