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

Method Write

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

Source from the content-addressed store, hash-verified

83}
84
85func (s arraySerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
86 writeArrayRefAndType(ctx, refMode, writeType, value, LIST)
87 if ctx.HasError() {
88 return
89 }
90 s.WriteData(ctx, value)
91}
92
93func (s arraySerializer) ReadData(ctx *ReadContext, value reflect.Value) {
94 buf := ctx.Buffer()

Callers

nothing calls this directly

Calls 3

WriteDataMethod · 0.95
writeArrayRefAndTypeFunction · 0.85
HasErrorMethod · 0.45

Tested by

no test coverage detected