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

Method Write

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

Source from the content-addressed store, hash-verified

1033}
1034
1035func (s int64Int64MapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
1036 done := writeMapRefAndType(ctx, refMode, writeType, value)
1037 if done || ctx.HasError() {
1038 return
1039 }
1040 writeMapInt64Int64(ctx.buffer, value.Interface().(map[int64]int64), hasGenerics)
1041}
1042
1043func (s int64Int64MapSerializer) ReadData(ctx *ReadContext, value reflect.Value) {
1044 if value.IsNil() {

Callers

nothing calls this directly

Calls 3

writeMapRefAndTypeFunction · 0.85
writeMapInt64Int64Function · 0.85
HasErrorMethod · 0.45

Tested by

no test coverage detected