The Bytes utils package in the Mys programming language.


class BytesReaderError(Error):
class BytesReader:

    func __init__(self, data: bytes):

    func available(self) -> bool:

    func read_u8(self) -> u8:

    func read_u16(self) -> u16:

    func read_u32(self) -> u32:

    func read_u64(self) -> u64:

    func read_i8(self) -> i8:

    func read_i16(self) -> i16:

    func read_i32(self) -> i32:

    func read_i64(self) -> i64:

    func read_bytes(self, count: i64) -> bytes: