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

Method ReadData

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

Source from the content-addressed store, hash-verified

582}
583
584func (s float64Serializer) ReadData(ctx *ReadContext, value reflect.Value) {
585 err := ctx.Err()
586 value.SetFloat(ctx.buffer.ReadFloat64(err))
587}
588
589func (s float64Serializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
590 err := ctx.Err()

Callers 1

ReadMethod · 0.95

Calls 2

ErrMethod · 0.45
ReadFloat64Method · 0.45

Tested by

no test coverage detected