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

Method write_data

rust/fory-core/src/serializer/codec.rs:639–641  ·  view source on GitHub ↗
(value: &T, context: &mut WriteContext)

Source from the content-addressed store, hash-verified

637
638 #[inline(always)]
639 fn write_data(value: &T, context: &mut WriteContext) -> Result<(), Error> {
640 T::fory_write_data_generic(value, context, false)
641 }
642
643 #[inline(always)]
644 fn read_data(context: &mut ReadContext) -> Result<T, Error> {

Callers

nothing calls this directly

Calls 13

write_dataFunction · 0.85
is_polymorphicClass · 0.85
is_shared_refClass · 0.85
fory_write_dataFunction · 0.85
lenMethod · 0.80
write_var_u32Method · 0.80
write_u8Method · 0.80
write_i8Method · 0.80
set_bytesMethod · 0.80
write_i16Method · 0.80
write_type_infoFunction · 0.70

Tested by

no test coverage detected