MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / bytes_from_file

Function bytes_from_file

0d_files/python/binary.py:5–6  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

3
4
5def bytes_from_file(filename):
6 return bytearray(Path(filename).read_bytes())
7
8
9if __name__ == "__main__":

Callers 1

binary.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected