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

Method AppendInt

encoder.go:26–26  ·  view source on GitHub ↗
(dst []byte, val int)

Source from the content-addressed store, hash-verified

24 AppendIPAddr(dst []byte, ip net.IP) []byte
25 AppendIPPrefix(dst []byte, pfx net.IPNet) []byte
26 AppendInt(dst []byte, val int) []byte
27 AppendInt16(dst []byte, val int16) []byte
28 AppendInt32(dst []byte, val int32) []byte
29 AppendInt64(dst []byte, val int64) []byte

Callers 15

IntMethod · 0.65
IntMethod · 0.65
appendFieldListFunction · 0.65
IntMethod · 0.65
TestAppendIntFunction · 0.65
BenchmarkAppendIntFunction · 0.65
TestAppendInt_64bitFunction · 0.65
TestAppendTypeFunction · 0.65
TestAppendIntFunction · 0.65
AppendIntMethod · 0.65
AppendIntsMethod · 0.65
AppendInt8Method · 0.65

Implementers 2

Encoderinternal/cbor/base.go
Encoderinternal/json/base.go

Calls

no outgoing calls

Tested by 5

TestAppendIntFunction · 0.52
BenchmarkAppendIntFunction · 0.52
TestAppendInt_64bitFunction · 0.52
TestAppendTypeFunction · 0.52
TestAppendIntFunction · 0.52