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

Method ReadBinary

go/fory/reader.go:188–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186}
187
188func (c *ReadContext) ReadBinary() []byte {
189 err := c.Err()
190 length := c.buffer.ReadVarUint32(err)
191 return c.buffer.ReadBinary(int(length), err)
192}
193
194func (c *ReadContext) ReadTypeId() TypeId {
195 return TypeId(c.buffer.ReadUint8(c.Err()))

Callers 2

RawStringMethod · 0.45
ReadByteSliceMethod · 0.45

Calls 2

ErrMethod · 0.95
ReadVarUint32Method · 0.45

Tested by

no test coverage detected