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

Method Int16

utils/reader.go:55–57  ·  view source on GitHub ↗

Int16 reads an int16.

()

Source from the content-addressed store, hash-verified

53
54// Int16 reads an int16.
55func (reader *Reader) Int16() int16 {
56 return int16(reader.Uint16() - (1 << 15))
57}
58
59// Int32 reads an int32.
60func (reader *Reader) Int32() int32 {

Callers 4

Int16SliceMethod · 0.95
TestWriterReaderFunction · 0.95
TestWriterOrderFunction · 0.95
DeserializeTypeFunction · 0.95

Calls 1

Uint16Method · 0.95

Tested by 2

TestWriterReaderFunction · 0.76
TestWriterOrderFunction · 0.76