Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
55
func
(reader *Reader) Int16() int16 {
56
return
int16(reader.Uint16() - (1 << 15))
57
}
58
59
// Int32 reads an int32.
60
func
(reader *Reader) Int32() int32 {
Callers
4
Int16Slice
Method · 0.95
TestWriterReader
Function · 0.95
TestWriterOrder
Function · 0.95
DeserializeType
Function · 0.95
Calls
1
Uint16
Method · 0.95
Tested by
2
TestWriterReader
Function · 0.76
TestWriterOrder
Function · 0.76