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

Method Write

go/fory/map_primitive.go:1000–1006  ·  view source on GitHub ↗
(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value)

Source from the content-addressed store, hash-verified

998}
999
1000func (s int32Int32MapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
1001 done := writeMapRefAndType(ctx, refMode, writeType, value)
1002 if done || ctx.HasError() {
1003 return
1004 }
1005 writeMapInt32Int32(ctx.buffer, value.Interface().(map[int32]int32), hasGenerics)
1006}
1007
1008func (s int32Int32MapSerializer) ReadData(ctx *ReadContext, value reflect.Value) {
1009 if value.IsNil() {

Callers

nothing calls this directly

Calls 3

writeMapRefAndTypeFunction · 0.85
writeMapInt32Int32Function · 0.85
HasErrorMethod · 0.45

Tested by

no test coverage detected