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

Method ReadData

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

Source from the content-addressed store, hash-verified

408}
409
410func (s int32Serializer) ReadData(ctx *ReadContext, value reflect.Value) {
411 err := ctx.Err()
412 value.SetInt(int64(ctx.buffer.ReadVarint32(err)))
413}
414
415func (s int32Serializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
416 err := ctx.Err()

Callers 1

ReadMethod · 0.95

Calls 3

int64Function · 0.50
ErrMethod · 0.45
ReadVarint32Method · 0.45

Tested by

no test coverage detected