zut.read_bytes

zut.read_bytes(path: str | PathLike, *, sudo=False) bytes

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