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

Method Write

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

Source from the content-addressed store, hash-verified

395}
396
397func (s float32ArraySerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
398 writeArrayRefAndType(ctx, refMode, writeType, value, FLOAT32_ARRAY)
399 if ctx.HasError() {
400 return
401 }
402 s.WriteData(ctx, value)
403}
404
405func (s float32ArraySerializer) ReadData(ctx *ReadContext, value reflect.Value) {
406 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