MCPcopy Create free account
hub / github.com/nsf/gocode / ReadByte

Method ReadByte

package_bin.go:715–717  ·  view source on GitHub ↗

needed for binary.ReadVarint in rawInt64

()

Source from the content-addressed store, hash-verified

713
714// needed for binary.ReadVarint in rawInt64
715func (p *gc_bin_parser) ReadByte() (byte, error) {
716 return p.rawByte(), nil
717}
718
719// byte is the bottleneck interface for reading p.data.
720// It unescapes '|' 'S' to '$' and '|' '|' to '|'.

Callers 2

mpintMethod · 0.80
byteMethod · 0.80

Calls 1

rawByteMethod · 0.95

Tested by

no test coverage detected