MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / writeAsHexString

Function writeAsHexString

pkg/sql/sem/tree/datum.go:1573–1577  ·  view source on GitHub ↗
(ctx *FmtCtx, b string)

Source from the content-addressed store, hash-verified

1571func (*DBytes) AmbiguousFormat() bool { return true }
1572
1573func writeAsHexString(ctx *FmtCtx, b string) {
1574 for i := 0; i < len(b); i++ {
1575 ctx.Write(stringencoding.RawHexMap[b[i]])
1576 }
1577}
1578
1579// Format implements the NodeFormatter interface.
1580func (d *DBytes) Format(ctx *FmtCtx) {

Callers 1

FormatMethod · 0.85

Calls 1

WriteMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…