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

Method WriteData

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

Source from the content-addressed store, hash-verified

924type stringFloat64MapSerializer struct{}
925
926func (s stringFloat64MapSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
927 writeMapStringFloat64(ctx.buffer, value.Interface().(map[string]float64), false)
928}
929
930func (s stringFloat64MapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
931 done := writeMapRefAndType(ctx, refMode, writeType, value)

Callers

nothing calls this directly

Calls 1

writeMapStringFloat64Function · 0.85

Tested by

no test coverage detected