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

Method ReadData

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

Source from the content-addressed store, hash-verified

44}
45
46func (s boolSerializer) ReadData(ctx *ReadContext, value reflect.Value) {
47 err := ctx.Err()
48 value.SetBool(ctx.buffer.ReadBool(err))
49}
50
51func (s boolSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
52 _ = hasGenerics // not used for primitive types

Callers 1

ReadMethod · 0.95

Calls 2

ErrMethod · 0.45
ReadBoolMethod · 0.45

Tested by

no test coverage detected