MCPcopy
hub / github.com/uber-go/zap / AppendByteString

Method AppendByteString

zapcore/json_encoder.go:237–242  ·  view source on GitHub ↗
(val []byte)

Source from the content-addressed store, hash-verified

235}
236
237func (enc *jsonEncoder) AppendByteString(val []byte) {
238 enc.addElementSeparator()
239 enc.buf.AppendByte('"')
240 enc.safeAddByteString(val)
241 enc.buf.AppendByte('"')
242}
243
244// appendComplex appends the encoded form of the provided complex128 value.
245// precision specifies the encoding precision for the real and imaginary

Callers 1

AddByteStringMethod · 0.95

Calls 3

addElementSeparatorMethod · 0.95
safeAddByteStringMethod · 0.95
AppendByteMethod · 0.80

Tested by

no test coverage detected