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

Method WriteData

go/fory/map_primitive.go:856–858  ·  view source on GitHub ↗
(ctx *WriteContext, value reflect.Value)

Source from the content-addressed store, hash-verified

854type stringInt64MapSerializer struct{}
855
856func (s stringInt64MapSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
857 writeMapStringInt64(ctx.buffer, value.Interface().(map[string]int64), false)
858}
859
860func (s stringInt64MapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
861 done := writeMapRefAndType(ctx, refMode, writeType, value)

Callers

nothing calls this directly

Calls 1

writeMapStringInt64Function · 0.85

Tested by

no test coverage detected