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

Method Read

go/fory/map_primitive.go:912–918  ·  view source on GitHub ↗
(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)

Source from the content-addressed store, hash-verified

910}
911
912func (s stringIntMapSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
913 done := readMapRefAndType(ctx, refMode, readType, value)
914 if done || ctx.HasError() {
915 return
916 }
917 s.ReadData(ctx, value)
918}
919
920func (s stringIntMapSerializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) {
921 s.Read(ctx, refMode, false, false, value)

Callers 1

ReadWithTypeInfoMethod · 0.95

Calls 3

ReadDataMethod · 0.95
readMapRefAndTypeFunction · 0.85
HasErrorMethod · 0.45

Tested by

no test coverage detected