class documentation
Read primitive values from one protobuf-encoded byte sequence.
| Method | __init__ |
Undocumented |
| Method | eof |
Return whether the input was consumed completely. |
| Method | raw |
Return an already-read byte range without changing the position. |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Read a length-delimited sequence with the supplied primitive reader. |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Return (field_number, wire_type, tag_start). |
| Method | read |
Undocumented |
| Method | read |
Undocumented |
| Method | read |
Read one unsigned 64-bit varint. |
| Method | skip |
Skip a field and return its complete original encoded bytes. |
| Class Variable | __slots__ |
Undocumented |
| Property | position |
Current byte offset. |
| Property | remaining |
Number of unread bytes. |
| Method | _read |
Undocumented |
| Method | _skip |
Undocumented |
| Method | _skip |
Undocumented |
| Instance Variable | _data |
Undocumented |
| Instance Variable | _max |
Undocumented |
| Instance Variable | _pos |
Undocumented |
def __init__(self, data:
bytes | bytearray | memoryview, *, max_depth: int = 100, max_bytes: int | None = None):
(source)
¶
Undocumented