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

Method ReadData

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

Source from the content-addressed store, hash-verified

364}
365
366func (s int16Serializer) ReadData(ctx *ReadContext, value reflect.Value) {
367 err := ctx.Err()
368 value.SetInt(int64(ctx.buffer.ReadInt16(err)))
369}
370
371func (s int16Serializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
372 err := ctx.Err()

Callers 1

ReadMethod · 0.95

Calls 3

int64Function · 0.50
ErrMethod · 0.45
ReadInt16Method · 0.45

Tested by

no test coverage detected