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

Method WriteData

go/fory/slice_primitive.go:458–460  ·  view source on GitHub ↗
(ctx *WriteContext, value reflect.Value)

Source from the content-addressed store, hash-verified

456type float64SliceSerializer struct{}
457
458func (s float64SliceSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
459 WriteFloat64Slice(ctx.Buffer(), value.Interface().([]float64))
460}
461
462func (s float64SliceSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
463 done := writeSliceRefAndType(ctx, refMode, writeType, value, FLOAT64_ARRAY)

Callers 1

WriteMethod · 0.95

Calls 2

WriteFloat64SliceFunction · 0.85
BufferMethod · 0.45

Tested by

no test coverage detected