MCPcopy Create free account
hub / github.com/EasyIME/PIME / write_to_fd

Method write_to_fd

python/python3/tornado/iostream.py:297–302  ·  view source on GitHub ↗

Attempts to write ``data`` to the underlying file. Returns the number of bytes written.

(self, data: memoryview)

Source from the content-addressed store, hash-verified

295 raise NotImplementedError()
296
297 def write_to_fd(self, data: memoryview) -> int:
298 """Attempts to write ``data`` to the underlying file.
299
300 Returns the number of bytes written.
301 """
302 raise NotImplementedError()
303
304 def read_from_fd(self, buf: Union[bytearray, memoryview]) -> Optional[int]:
305 """Attempts to read from the underlying file.

Callers 1

_handle_writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected