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

Method AppendByte

buffer/buffer.go:41–43  ·  view source on GitHub ↗

AppendByte writes a single byte to the Buffer.

(v byte)

Source from the content-addressed store, hash-verified

39
40// AppendByte writes a single byte to the Buffer.
41func (b *Buffer) AppendByte(v byte) {
42 b.bs = append(b.bs, v)
43}
44
45// AppendBytes writes the given slice of bytes to the Buffer.
46func (b *Buffer) AppendBytes(v []byte) {

Callers 15

WriteByteMethod · 0.95
OpenNamespaceMethod · 0.80
AppendArrayMethod · 0.80
AppendObjectMethod · 0.80
AppendByteStringMethod · 0.80
appendComplexMethod · 0.80
AppendStringMethod · 0.80
AppendTimeLayoutMethod · 0.80
EncodeEntryMethod · 0.80
closeOpenNamespacesMethod · 0.80
addKeyMethod · 0.80
addElementSeparatorMethod · 0.80

Calls

no outgoing calls

Tested by 2

fuzzSafeAppendStringLikeFunction · 0.64
TestBufferWritesFunction · 0.64