MCPcopy Create free account
hub / github.com/dinedal/textql / encodeAscii

Method encodeAscii

sqlparser/sqltypes/sqltypes.go:284–288  ·  view source on GitHub ↗
(b BinWriter)

Source from the content-addressed store, hash-verified

282}
283
284func (n Numeric) encodeAscii(b BinWriter) {
285 if _, err := b.Write(n.raw()); err != nil {
286 panic(err)
287 }
288}
289
290func (n Numeric) MarshalJSON() ([]byte, error) {
291 return n.raw(), nil

Callers

nothing calls this directly

Calls 2

rawMethod · 0.95
WriteMethod · 0.80

Tested by

no test coverage detected