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

Method ReadData

go/fory/optional_serializer.go:308–312  ·  view source on GitHub ↗
(ctx *ReadContext, value reflect.Value)

Source from the content-addressed store, hash-verified

306}
307
308func (s *optionalSerializer) ReadData(ctx *ReadContext, value reflect.Value) {
309 valueField := s.valueField(value)
310 s.setHas(value, true)
311 s.valueSerializer.ReadData(ctx, valueField)
312}
313
314func (s *optionalSerializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) {
315 s.Read(ctx, refMode, false, false, value)

Callers 1

ReadMethod · 0.95

Calls 3

valueFieldMethod · 0.95
setHasMethod · 0.95
ReadDataMethod · 0.65

Tested by

no test coverage detected