Write bytes data to the file.
(self, data: bytes)
| 147 | ) |
| 148 | |
| 149 | async def write_bytes(self, data: bytes) -> int: |
| 150 | """Write bytes data to the file.""" |
| 151 | return await asyncio.to_thread(self._path.write_bytes, data) |
| 152 | |
| 153 | # Directory operations |
| 154 |
no outgoing calls