Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/apache/fory
/ to_bytes
Method
to_bytes
python/pyfory/tests/test_buffer.py:80–81 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
78
return
wrote
79
80
def
to_bytes(self):
81
return
bytes(self._data)
82
83
84
def
test_buffer():
Callers
15
test_buffer_flush_stream
Function · 0.95
test_output_stream_try_flush_preserves_bound_buffer_when_barrier_active
Function · 0.95
test_output_stream_try_flush_small_payload_needs_force_flush
Function · 0.95
_write_decimal_parts
Function · 0.45
serialize
Method · 0.45
test_collection_ref_override_unsets_tracking_bit
Function · 0.45
test_collection_mixed_type_primitive_ref_value_regression
Function · 0.45
test_invalid_top_level_ref_id_raises_value_error
Function · 0.45
test_invalid_collection_element_ref_id_raises_value_error
Function · 0.45
test_serialization_without_schema
Function · 0.45
test_oob_buffer
Function · 0.45
test_decode_typedef_rejects_compressed_xlang_metadata
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected