(ctx *FmtCtx, d *DBytes)
| 1439 | func (*DBytes) AmbiguousFormat() bool { return true } |
| 1440 | |
| 1441 | func 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. |
| 1449 | func (d *DBytes) Format(ctx *FmtCtx) { |