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

Method Read

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

Source from the content-addressed store, hash-verified

1085}
1086
1087func (s intIntMapSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
1088 done := readMapRefAndType(ctx, refMode, readType, value)
1089 if done || ctx.HasError() {
1090 return
1091 }
1092 s.ReadData(ctx, value)
1093}
1094
1095func (s intIntMapSerializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) {
1096 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