Hex appends the val as a hex string to the array.
(val []byte)
| 93 | |
| 94 | // Hex appends the val as a hex string to the array. |
| 95 | func (a *Array) Hex(val []byte) *Array { |
| 96 | a.buf = enc.AppendHex(enc.AppendArrayDelim(a.buf), val) |
| 97 | return a |
| 98 | } |
| 99 | |
| 100 | // RawJSON adds already encoded JSON to the array. |
| 101 | func (a *Array) RawJSON(val []byte) *Array { |
nothing calls this directly
no test coverage detected