MCPcopy
hub / github.com/cube2222/octosql / writebyte

Function writebyte

parser/sqlparser/dependency/sqltypes/value.go:392–396  ·  view source on GitHub ↗
(c byte, b BinWriter)

Source from the content-addressed store, hash-verified

390}
391
392func writebyte(c byte, b BinWriter) {
393 if err := b.WriteByte(c); err != nil {
394 panic(err)
395 }
396}
397
398func writebytes(val []byte, b BinWriter) {
399 n, err := b.Write(val)

Callers 2

encodeBytesSQLFunction · 0.85
encodeBytesASCIIFunction · 0.85

Calls 1

WriteByteMethod · 0.65

Tested by

no test coverage detected