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

Method Int16

array.go:166–169  ·  view source on GitHub ↗

Int16 appends i as a int16 to the array.

(i int16)

Source from the content-addressed store, hash-verified

164
165// Int16 appends i as a int16 to the array.
166func (a *Array) Int16(i int16) *Array {
167 a.buf = enc.AppendInt16(enc.AppendArrayDelim(a.buf), i)
168 return a
169}
170
171// Int32 appends i as a int32 to the array.
172func (a *Array) Int32(i int32) *Array {

Callers

nothing calls this directly

Calls 2

AppendInt16Method · 0.65
AppendArrayDelimMethod · 0.65

Tested by

no test coverage detected