MCPcopy
hub / github.com/rs/zerolog / Hex

Method Hex

array.go:95–98  ·  view source on GitHub ↗

Hex appends the val as a hex string to the array.

(val []byte)

Source from the content-addressed store, hash-verified

93
94// Hex appends the val as a hex string to the array.
95func (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.
101func (a *Array) RawJSON(val []byte) *Array {

Callers

nothing calls this directly

Calls 2

AppendHexMethod · 0.65
AppendArrayDelimMethod · 0.65

Tested by

no test coverage detected