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

Method Write

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

Source from the content-addressed store, hash-verified

928}
929
930func (s stringFloat64MapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
931 done := writeMapRefAndType(ctx, refMode, writeType, value)
932 if done || ctx.HasError() {
933 return
934 }
935 writeMapStringFloat64(ctx.buffer, value.Interface().(map[string]float64), hasGenerics)
936}
937
938func (s stringFloat64MapSerializer) ReadData(ctx *ReadContext, value reflect.Value) {
939 if value.IsNil() {

Callers

nothing calls this directly

Calls 3

writeMapRefAndTypeFunction · 0.85
writeMapStringFloat64Function · 0.85
HasErrorMethod · 0.45

Tested by

no test coverage detected