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

Method write_with_mode

rust/fory-core/src/serializer/codec.rs:683–691  ·  view source on GitHub ↗
(
        value: &T,
        context: &mut WriteContext,
        ref_mode: RefMode,
        write_type_info: bool,
        has_generics: bool,
    )

Source from the content-addressed store, hash-verified

681
682 #[inline(always)]
683 fn write_with_mode(
684 value: &T,
685 context: &mut WriteContext,
686 ref_mode: RefMode,
687 write_type_info: bool,
688 has_generics: bool,
689 ) -> Result<(), Error> {
690 T::fory_write(value, context, ref_mode, write_type_info, has_generics)
691 }
692
693 #[inline(always)]
694 fn read_with_mode(

Callers

nothing calls this directly

Calls 3

write_dataFunction · 0.85
write_i8Method · 0.80
write_type_infoFunction · 0.70

Tested by

no test coverage detected