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

Method fory_read_data

rust/api-tests/facade-only/src/lib.rs:124–131  ·  view source on GitHub ↗
(context: &mut ReadContext)

Source from the content-addressed store, hash-verified

122 }
123
124 fn fory_read_data(context: &mut ReadContext) -> Result<Self, Error>
125 where
126 Self: Sized + ForyDefault,
127 {
128 Ok(Self {
129 value: context.reader.read_i32()?,
130 })
131 }
132
133 fn fory_type_id_dyn(&self, type_resolver: &TypeResolver) -> Result<TypeId, Error> {
134 Self::fory_get_type_id(type_resolver)

Callers

nothing calls this directly

Calls 1

read_i32Method · 0.80

Tested by

no test coverage detected