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

Method Write

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

Source from the content-addressed store, hash-verified

858}
859
860func (s bfloat16ArraySerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
861 writeArrayRefAndType(ctx, refMode, writeType, value, BFLOAT16_ARRAY)
862 if ctx.HasError() {
863 return
864 }
865 s.WriteData(ctx, value)
866}
867
868func (s bfloat16ArraySerializer) ReadData(ctx *ReadContext, value reflect.Value) {
869 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