MCPcopy Create free account
hub / github.com/apache/fory / fory_write_data

Method fory_write_data

rust/fory-core/src/serializer/tuple.rs:31–34  ·  view source on GitHub ↗
(&self, _context: &mut WriteContext)

Source from the content-addressed store, hash-verified

29impl Serializer for () {
30 #[inline(always)]
31 fn fory_write_data(&self, _context: &mut WriteContext) -> Result<(), Error> {
32 // Unit type has no data to write
33 Ok(())
34 }
35
36 #[inline(always)]
37 fn fory_read_data(_context: &mut ReadContext) -> Result<Self, Error> {

Callers 1

write_tuple_elementFunction · 0.45

Calls 6

write_tuple_elementFunction · 0.85
write_var_u32Method · 0.80
write_u8Method · 0.80
is_compatibleMethod · 0.45
is_xlangMethod · 0.45
fory_writeMethod · 0.45

Tested by

no test coverage detected