Files
defiQUG c052b07662
Some checks failed
Tests / test (3.10) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.12) (push) Has been cancelled
Tests / lint (push) Has been cancelled
Tests / docker (push) Has been cancelled
Initial commit: add .gitignore and README
2026-02-09 21:51:42 -08:00

14 lines
418 B
Python

from typing import final
from mypy_extensions import i64, u8
@final
class BytesWriter:
def append(self, /, x: int) -> None: ...
def write(self, /, b: bytes | bytearray) -> None: ...
def getvalue(self) -> bytes: ...
def truncate(self, /, size: i64) -> None: ...
def __len__(self) -> i64: ...
def __getitem__(self, /, i: i64) -> u8: ...
def __setitem__(self, /, i: i64, x: u8) -> None: ...