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

Function writeAsHexString

pkg/sql/sem/tree/datum.go:1441–1446  ·  view source on GitHub ↗
(ctx *FmtCtx, d *DBytes)

Source from the content-addressed store, hash-verified

1439func (*DBytes) AmbiguousFormat() bool { return true }
1440
1441func writeAsHexString(ctx *FmtCtx, d *DBytes) {
1442 b := string(*d)
1443 for i := 0; i < len(b); i++ {
1444 ctx.Write(stringencoding.RawHexMap[b[i]])
1445 }
1446}
1447
1448// Format implements the NodeFormatter interface.
1449func (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…