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

Method AddBinary

zapcore/json_encoder.go:110–112  ·  view source on GitHub ↗
(key string, val []byte)

Source from the content-addressed store, hash-verified

108}
109
110func (enc *jsonEncoder) AddBinary(key string, val []byte) {
111 enc.AddString(key, base64.StdEncoding.EncodeToString(val))
112}
113
114func (enc *jsonEncoder) AddByteString(key string, val []byte) {
115 enc.addKey(key)

Callers

nothing calls this directly

Calls 1

AddStringMethod · 0.95

Tested by

no test coverage detected