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

Method encodeAscii

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

Source from the content-addressed store, hash-verified

302}
303
304func (f Fractional) encodeAscii(b BinWriter) {
305 if _, err := b.Write(f.raw()); err != nil {
306 panic(err)
307 }
308}
309
310func (s String) MarshalJSON() ([]byte, error) {
311 return json.Marshal(string(s.raw()))

Callers

nothing calls this directly

Calls 2

rawMethod · 0.95
WriteMethod · 0.80

Tested by

no test coverage detected