MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Int8

Method Int8

utils/reader.go:50–52  ·  view source on GitHub ↗

Int8 reads an int8.

()

Source from the content-addressed store, hash-verified

48
49// Int8 reads an int8.
50func (reader *Reader) Int8() int8 {
51 return int8(reader.Uint8() - (1 << 7))
52}
53
54// Int16 reads an int16.
55func (reader *Reader) Int16() int16 {

Callers 3

Int8SliceMethod · 0.95
TestWriterReaderFunction · 0.95
TestWriterOrderFunction · 0.95

Calls 1

Uint8Method · 0.95

Tested by 2

TestWriterReaderFunction · 0.76
TestWriterOrderFunction · 0.76