zut.files.read_bytes

zut.files.read_bytes(path: str | Path) bytes

Open the file in bytes mode, read it, and close the file.