(ctx *FmtCtx, d *DBytes)
| 653 | func (*DBytes) AmbiguousFormat() bool { return true } |
| 654 | |
| 655 | func writeAsHexString(ctx *FmtCtx, d *DBytes) { |
| 656 | b := string(*d) |
| 657 | for i := 0; i < len(b); i++ { |
| 658 | ctx.Write(stringencoding.RawHexMap[b[i]]) |
| 659 | } |
| 660 | } |
| 661 | |
| 662 | // Format implements the NodeFormatter interface. |
| 663 | func (d *DBytes) Format(ctx *FmtCtx) { |