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

Method Write

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

Source from the content-addressed store, hash-verified

858}
859
860func (s stringInt64MapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
861 done := writeMapRefAndType(ctx, refMode, writeType, value)
862 if done || ctx.HasError() {
863 return
864 }
865 writeMapStringInt64(ctx.buffer, value.Interface().(map[string]int64), hasGenerics)
866}
867
868func (s stringInt64MapSerializer) ReadData(ctx *ReadContext, value reflect.Value) {
869 if value.IsNil() {

Callers

nothing calls this directly

Calls 3

writeMapRefAndTypeFunction · 0.85
writeMapStringInt64Function · 0.85
HasErrorMethod · 0.45

Tested by

no test coverage detected