MCPcopy Index your code
hub / github.com/coder/slog / writeSignedInt

Function writeSignedInt

internal/entryhuman/entry.go:117–121  ·  view source on GitHub ↗
(w io.Writer, n int64)

Source from the content-addressed store, hash-verified

115}
116
117func writeSignedInt(w io.Writer, n int64) (bool, error) {
118 var a [20]byte
119 _, err := w.Write(strconv.AppendInt(a[:0], n, 10))
120 return true, err
121}
122
123func writeUnsignedInt(w io.Writer, n uint64) (bool, error) {
124 var a [20]byte

Callers 1

writeValueFastFunction · 0.85

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected