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

Method AddByteString

zapcore/encoder.go:371–371  ·  zapcore/encoder.go::ObjectEncoder.AddByteString

for arbitrary bytes

(key string, value []byte)

Source from the content-addressed store, hash-verified

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)
374 AddComplex64(key string, value complex64)

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