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

Method Write

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

Source from the content-addressed store, hash-verified

789}
790
791func (s float16ArraySerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
792 writeArrayRefAndType(ctx, refMode, writeType, value, FLOAT16_ARRAY)
793 if ctx.HasError() {
794 return
795 }
796 s.WriteData(ctx, value)
797}
798
799func (s float16ArraySerializer) ReadData(ctx *ReadContext, value reflect.Value) {
800 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