Skip to content

Tail

Tail

Bases: Generic[T]

[De]serialize a list[T] until the end of the byte stream is reached using the syntax Tail[T]

__class_getitem__ classmethod

__class_getitem__(item: Any) -> type

from_bytes classmethod

from_bytes(bytes_: bytes) -> Self

from_file classmethod

from_file(filepath: str, strict: bool = True) -> Self

from_stream classmethod

from_stream(stream: ByteStream, ver: Version = Version(0)) -> list[T]

to_bytes classmethod

to_bytes(value: list[T]) -> bytes

to_file classmethod

to_file(filepath: str, value: list[T])