MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / read_bytes

Method read_bytes

tools/python-3.11.9-amd64/Lib/pathlib.py:1046–1051  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

1044 return io.open(self, mode, buffering, encoding, errors, newline)
1045
1046 def read_bytes(self):
1047 """
1048 Open the file in bytes mode, read it, and close the file.
1049 """
1050 with self.open(mode='rb') as f:
1051 return f.read()
1052
1053 def read_text(self, encoding=None, errors=None):
1054 """

Callers 1

verify_wheelFunction · 0.45

Calls 2

openMethod · 0.95
readMethod · 0.45

Tested by

no test coverage detected