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

Method ReadData

go/fory/slice_primitive.go:448–450  ·  view source on GitHub ↗
(ctx *ReadContext, value reflect.Value)

Source from the content-addressed store, hash-verified

446}
447
448func (s float32SliceSerializer) ReadData(ctx *ReadContext, value reflect.Value) {
449 *(*[]float32)(value.Addr().UnsafePointer()) = ReadFloat32Slice(ctx.Buffer(), ctx.Err())
450}
451
452// ============================================================================
453// float64SliceSerializer - optimized []float64 serialization

Callers 1

ReadMethod · 0.95

Calls 3

ReadFloat32SliceFunction · 0.85
BufferMethod · 0.45
ErrMethod · 0.45

Tested by

no test coverage detected