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

Method WriteData

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

Source from the content-addressed store, hash-verified

959type stringBoolMapSerializer struct{}
960
961func (s stringBoolMapSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
962 writeMapStringBool(ctx.buffer, value.Interface().(map[string]bool), false)
963}
964
965func (s stringBoolMapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
966 done := writeMapRefAndType(ctx, refMode, writeType, value)

Callers

nothing calls this directly

Calls 1

writeMapStringBoolFunction · 0.85

Tested by

no test coverage detected