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

Method WriteData

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

Source from the content-addressed store, hash-verified

994type int32Int32MapSerializer struct{}
995
996func (s int32Int32MapSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
997 writeMapInt32Int32(ctx.buffer, value.Interface().(map[int32]int32), false)
998}
999
1000func (s int32Int32MapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
1001 done := writeMapRefAndType(ctx, refMode, writeType, value)

Callers

nothing calls this directly

Calls 1

writeMapInt32Int32Function · 0.85

Tested by

no test coverage detected