Skip to content

bytes.py

Bytes dataclass

Bases: IO[bytes]

IO representing bytes.

Example:

>>> from ordeq_files import Bytes
>>> from pathlib import Path
>>> MyPNG = Bytes(
...     path=Path("path/to.png")
... )