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

Method ReadInt8

thrift/binary.go:50–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (r *binaryReader) ReadInt8() (int8, error) {
51 b, err := r.ReadByte()
52 return int8(b), err
53}
54
55func (r *binaryReader) ReadInt16() (int16, error) {
56 b, err := r.read(2)

Callers 3

ReadMessageMethod · 0.95
ReadFieldMethod · 0.95
ReadListMethod · 0.95

Calls 1

ReadByteMethod · 0.95

Tested by

no test coverage detected