Debian Codegraph @

av/buffer.pyi

raw
1 # When Python 3.12 becomes our lowest supported version, we could make this
2 # class inherit `collections.abc.Buffer`.
3
4 class Buffer:
5 buffer_size: int
6 buffer_ptr: int
7 def update(self, input: bytes) -> None: ...
8 def __buffer__(self, flags: int) -> memoryview: ...
9 def __bytes__(self) -> bytes: ...