Stream¶ class bertlv.stream.BufferedStream[source]¶ Bases: collections.abc.Iterator rollback(error_type: Type[Exception])[source]¶ is_eof() → bool[source]¶ size() → int[source]¶ close() → None[source]¶ read(size: int = - 1) → bytes[source]¶ write(data: bytes) → int[source]¶ push(data: bytes) → None[source]¶ tell() → int[source]¶