MCPcopy
hub / github.com/dropbox/godropbox / writebyte

Function writebyte

database/sqltypes/sqltypes.go:548–552  ·  view source on GitHub ↗
(b encoding2.BinaryWriter, c byte)

Source from the content-addressed store, hash-verified

546}
547
548func writebyte(b encoding2.BinaryWriter, c byte) {
549 if err := b.WriteByte(c); err != nil {
550 panic(err)
551 }
552}
553
554// Helper function for converting a uint64 to a string suitable for SQL.
555func Uint64EncodeSql(b encoding2.BinaryWriter, num uint64) {

Callers 2

encodeSqlMethod · 0.85
encodeAsciiMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected