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

Method WriteData

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

Source from the content-addressed store, hash-verified

1029type int64Int64MapSerializer struct{}
1030
1031func (s int64Int64MapSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
1032 writeMapInt64Int64(ctx.buffer, value.Interface().(map[int64]int64), false)
1033}
1034
1035func (s int64Int64MapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
1036 done := writeMapRefAndType(ctx, refMode, writeType, value)

Callers

nothing calls this directly

Calls 1

writeMapInt64Int64Function · 0.85

Tested by

no test coverage detected