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

Method ReadData

go/fory/serializer.go:88–88  ·  view source on GitHub ↗

ReadData deserializes directly into the provided reflect.Value. Does NOT read ref/type info - caller handles that. For non-trivial types (slices, maps), implementations should reuse existing capacity when possible. This method should ONLY be used by collection serializers for nested element deserial

(ctx *ReadContext, value reflect.Value)

Source from the content-addressed store, hash-verified

86 // For general deserialization, use ReadFull instead.
87 // Errors are set on the context via ctx.SetError().
88 ReadData(ctx *ReadContext, value reflect.Value)
89
90 // ReadWithTypeInfo deserializes with pre-read type information.
91 //

Callers 15

readSingleValueMethod · 0.95
readDifferentTypesMethod · 0.65
readSameTypeMethod · 0.65
readDifferentTypesMethod · 0.65
readSerializerDataFunction · 0.65
ReadDataMethod · 0.65
ReadDataMethod · 0.65
ReadDataMethod · 0.65
ReadMethod · 0.65
ReadDataMethod · 0.65
ReadMethod · 0.65
ReadValueMethod · 0.65

Implementers 15

setSerializergo/fory/set.go
sliceDynSerializergo/fory/slice_dyn.go
byteSliceSerializergo/fory/slice_primitive.go
boolSliceSerializergo/fory/slice_primitive.go
int8SliceSerializergo/fory/slice_primitive.go
int16SliceSerializergo/fory/slice_primitive.go
int32SliceSerializergo/fory/slice_primitive.go
int64SliceSerializergo/fory/slice_primitive.go
uint16SliceSerializergo/fory/slice_primitive.go
uint32SliceSerializergo/fory/slice_primitive.go
uint64SliceSerializergo/fory/slice_primitive.go
float32SliceSerializergo/fory/slice_primitive.go

Calls

no outgoing calls