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

Method WriteData

go/fory/string.go:191–194  ·  view source on GitHub ↗
(ctx *WriteContext, value reflect.Value)

Source from the content-addressed store, hash-verified

189}
190
191func (s ptrToStringSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
192 str := value.Interface().(*string)
193 writeString(ctx.buffer, *str)
194}
195
196func (s ptrToStringSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
197 err := ctx.Err()

Callers 1

WriteMethod · 0.95

Calls 1

writeStringFunction · 0.85

Tested by

no test coverage detected