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

Method deserialize_with_context

rust/fory-core/src/fory.rs:1089–1096  ·  view source on GitHub ↗
(
        &self,
        context: &mut ReadContext,
    )

Source from the content-addressed store, hash-verified

1087
1088 #[inline(always)]
1089 fn deserialize_with_context<T: Serializer + ForyDefault>(
1090 &self,
1091 context: &mut ReadContext,
1092 ) -> Result<T, Error> {
1093 let result = self.deserialize_with_context_inner::<T>(context);
1094 context.reset();
1095 result
1096 }
1097
1098 #[inline(always)]
1099 fn deserialize_with_context_inner<T: Serializer + ForyDefault>(

Callers 2

deserializeMethod · 0.80
deserialize_fromMethod · 0.80

Calls 1

resetMethod · 0.65

Tested by

no test coverage detected