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

Method ReadData

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

Source from the content-addressed store, hash-verified

183}
184
185func (s uint16Serializer) ReadData(ctx *ReadContext, value reflect.Value) {
186 err := ctx.Err()
187 value.SetUint(uint64(ctx.buffer.ReadUint16(err)))
188}
189
190func (s uint16Serializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
191 _ = hasGenerics

Callers 1

ReadMethod · 0.95

Calls 3

ReadUint16Method · 0.80
uint64Function · 0.50
ErrMethod · 0.45

Tested by

no test coverage detected