MCPcopy Index your code
hub / github.com/apache/fory / write_to

Method write_to

python/pyfory/_fory.py:59–65  ·  view source on GitHub ↗

Write serialized object to a writable stream. Args: stream: Any writable object with write() method (Buffer, file, BytesIO, etc.)

(self, stream)

Source from the content-addressed store, hash-verified

57
58 @abstractmethod
59 def write_to(self, stream):
60 """
61 Write serialized object to a writable stream.
62
63 Args:
64 stream: Any writable object with write() method (Buffer, file, BytesIO, etc.)
65 """
66
67 @abstractmethod
68 def getbuffer(self) -> memoryview:

Callers 3

write_buffer_objectMethod · 0.45
test_oob_bufferFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_oob_bufferFunction · 0.36