MCPcopy 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.
59func (writer *Writer) Int8(val int8) {
60 writer.buf.WriteByte(byte(val) + (1 << 7))
61}
62
63// Int16 writes an int16.
64func (writer *Writer) Int16(val int16) {

Callers 3

TestWriterReaderFunction · 0.95
TestWriterOrderFunction · 0.95
Int8SliceMethod · 0.95

Calls

no outgoing calls

Tested by 2

TestWriterReaderFunction · 0.76
TestWriterOrderFunction · 0.76