mrcrowbar.common module

mrcrowbar.common.bounds(start: int | None, end: int | None, length: int | None, src_size: int) → tuple[int, int][source]
mrcrowbar.common.file_path_recurse(*root_list) → Iterator[str][source]
mrcrowbar.common.is_bytes(obj: Any) → bool[source]

Returns whether obj is an acceptable Python byte string.

mrcrowbar.common.read(fp: BinaryIO) → Union[bytes, bytearray, mmap.mmap, memoryview][source]
mrcrowbar.common.serialise(obj: Any, fields: Sequence[str]) → Tuple[Tuple[str, str], Tuple[Tuple[str, Any], ...]][source]