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

Method WriteData

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

Source from the content-addressed store, hash-verified

1064type intIntMapSerializer struct{}
1065
1066func (s intIntMapSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
1067 writeMapIntInt(ctx.buffer, value.Interface().(map[int]int), false)
1068}
1069
1070func (s intIntMapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
1071 done := writeMapRefAndType(ctx, refMode, writeType, value)

Callers

nothing calls this directly

Calls 1

writeMapIntIntFunction · 0.85

Tested by

no test coverage detected