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

Method ReadData

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

Source from the content-addressed store, hash-verified

320}
321
322func (s uintSerializer) ReadData(ctx *ReadContext, value reflect.Value) {
323 err := ctx.Err()
324 value.SetUint(ctx.buffer.ReadVarUint64(err))
325}
326
327func (s uintSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
328 err := ctx.Err()

Callers 1

ReadMethod · 0.95

Calls 2

ReadVarUint64Method · 0.80
ErrMethod · 0.45

Tested by

no test coverage detected