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

Method ReadData

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

Source from the content-addressed store, hash-verified

275}
276
277func (s uint64Serializer) ReadData(ctx *ReadContext, value reflect.Value) {
278 err := ctx.Err()
279 value.SetUint(ctx.buffer.ReadVarUint64(err))
280}
281
282func (s uint64Serializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
283 _ = hasGenerics

Callers 1

ReadMethod · 0.95

Calls 2

ReadVarUint64Method · 0.80
ErrMethod · 0.45

Tested by

no test coverage detected