MCPcopy Index your code
hub / github.com/dropbox/godropbox / encodeAscii

Method encodeAscii

database/sqltypes/sqltypes.go:473–477  ·  view source on GitHub ↗
(b encoding2.BinaryWriter)

Source from the content-addressed store, hash-verified

471}
472
473func (n Numeric) encodeAscii(b encoding2.BinaryWriter) {
474 if _, err := b.Write(n.raw()); err != nil {
475 panic(err)
476 }
477}
478
479func (n Numeric) MarshalBinary() ([]byte, error) {
480 return writeBinary(NumericType, n.raw())

Callers

nothing calls this directly

Calls 2

rawMethod · 0.95
WriteMethod · 0.45

Tested by

no test coverage detected