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

Method ReadData

go/fory/primitive.go:540–543  ·  view source on GitHub ↗
(ctx *ReadContext, value reflect.Value)

Source from the content-addressed store, hash-verified

538}
539
540func (s float32Serializer) ReadData(ctx *ReadContext, value reflect.Value) {
541 err := ctx.Err()
542 value.SetFloat(float64(ctx.buffer.ReadFloat32(err)))
543}
544
545func (s float32Serializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
546 err := ctx.Err()

Callers 1

ReadMethod · 0.95

Calls 3

float64Function · 0.50
ErrMethod · 0.45
ReadFloat32Method · 0.45

Tested by

no test coverage detected