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

Method AddBinary

zapcore/encoder.go:370–370  ·  zapcore/encoder.go::ObjectEncoder.AddBinary

Built-in types.

(key string, value []byte)

Source from the content-addressed store, hash-verified

368
369 // Built-in types.
370 AddBinary(key string, value []byte) // for arbitrary bytes
371 AddByteString(key string, value []byte) // for UTF-8 encoded bytes
372 AddBool(key string, value bool)
373 AddComplex128(key string, value complex128)

Callers 3

TestMapObjectEncoderAddFunction · 0.65
AddToMethod · 0.65

Implementers 2

jsonEncoderzapcore/json_encoder.go
MapObjectEncoderzapcore/memory_encoder.go

Calls

no outgoing calls

Tested by 2

TestMapObjectEncoderAddFunction · 0.52