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

Method AppendInt8

internal/json/types.go:97–99  ·  view source on GitHub ↗

AppendInt8 converts the input []int8 to a string and appends the encoded string to the input byte slice.

(dst []byte, val int8)

Source from the content-addressed store, hash-verified

95// AppendInt8 converts the input []int8 to a string and
96// appends the encoded string to the input byte slice.
97func (Encoder) AppendInt8(dst []byte, val int8) []byte {
98 return strconv.AppendInt(dst, int64(val), 10)
99}
100
101// AppendInts8 encodes the input int8s to json and
102// appends the encoded string list to the input byte slice.

Callers

nothing calls this directly

Calls 1

AppendIntMethod · 0.65

Tested by

no test coverage detected