Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dolthub/doltgresql
/ Int8
Method
Int8
utils/writer.go:59–61 ·
view source on GitHub ↗
Int8 writes an int8.
(val int8)
Source
from the content-addressed store, hash-verified
57
58
// Int8 writes an int8.
59
func
(writer *Writer) Int8(val int8) {
60
writer.buf.WriteByte(byte(val) + (1 << 7))
61
}
62
63
// Int16 writes an int16.
64
func
(writer *Writer) Int16(val int16) {
Callers
3
TestWriterReader
Function · 0.95
TestWriterOrder
Function · 0.95
Int8Slice
Method · 0.95
Calls
no outgoing calls
Tested by
2
TestWriterReader
Function · 0.76
TestWriterOrder
Function · 0.76