MCPcopy Create free account
hub / github.com/dropbox/godropbox / encodeAscii

Method encodeAscii

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

Source from the content-addressed store, hash-verified

491}
492
493func (f Fractional) encodeAscii(b encoding2.BinaryWriter) {
494 if _, err := b.Write(f.raw()); err != nil {
495 panic(err)
496 }
497}
498
499func (f Fractional) MarshalBinary() ([]byte, error) {
500 return writeBinary(FractionalType, f.raw())

Callers

nothing calls this directly

Calls 2

rawMethod · 0.95
WriteMethod · 0.45

Tested by

no test coverage detected