MCPcopy Create free account
hub / github.com/segmentio/encoding / read

Method read

thrift/binary.go:213–216  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

211}
212
213func (r *binaryReader) read(n int) ([]byte, error) {
214 _, err := io.ReadFull(r.r, r.b[:n])
215 return r.b[:n], err
216}
217
218type binaryWriter struct {
219 p *BinaryProtocol

Callers 7

ReadInt16Method · 0.95
ReadInt32Method · 0.95
ReadInt64Method · 0.95
ReadFloat64Method · 0.95
ReadLengthMethod · 0.95
ReadMessageMethod · 0.95
ReadByteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected