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

Method Read

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

Read is the entry point for deserialization. This method orchestrates the complete deserialization process, handling reference tracking, type information validation, and delegating to ReadData for the actual data deserialization. Unlike Java's unified ref tracking approach, Go uses per-serializer

(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)

Source from the content-addressed store, hash-verified

78 // Errors are set on the context via ctx.SetError() and should be checked
79 // at appropriate boundaries using ctx.HasError() or ctx.CheckError().
80 Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)
81
82 // ReadData deserializes directly into the provided reflect.Value.
83 // Does NOT read ref/type info - caller handles that.

Callers 15

readSingleValueMethod · 0.95
readChunkMethod · 0.95
readSameTypeMethod · 0.65
ReadDataMethod · 0.65
ReadByteSliceFunction · 0.65
ReadBoolSliceFunction · 0.65
ReadInt8SliceFunction · 0.65
ReadInt16SliceFunction · 0.65
ReadInt32SliceFunction · 0.65
ReadInt64SliceFunction · 0.65
ReadUint16SliceFunction · 0.65
ReadUint32SliceFunction · 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