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

Method Write

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

Source from the content-addressed store, hash-verified

75}
76
77func (s boolArraySerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
78 writeArrayRefAndType(ctx, refMode, writeType, value, BOOL_ARRAY)
79 if ctx.HasError() {
80 return
81 }
82 s.WriteData(ctx, value)
83}
84
85func (s boolArraySerializer) ReadData(ctx *ReadContext, value reflect.Value) {
86 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