MCPcopy
hub / github.com/rs/zerolog / Int8

Method Int8

array.go:160–163  ·  view source on GitHub ↗

Int8 appends i as a int8 to the array.

(i int8)

Source from the content-addressed store, hash-verified

158
159// Int8 appends i as a int8 to the array.
160func (a *Array) Int8(i int8) *Array {
161 a.buf = enc.AppendInt8(enc.AppendArrayDelim(a.buf), i)
162 return a
163}
164
165// Int16 appends i as a int16 to the array.
166func (a *Array) Int16(i int16) *Array {

Callers

nothing calls this directly

Calls 2

AppendInt8Method · 0.65
AppendArrayDelimMethod · 0.65

Tested by

no test coverage detected