MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / EncodeUntaggedIntValue

Function EncodeUntaggedIntValue

pkg/util/encoding/encoding.go:2612–2614  ·  view source on GitHub ↗

EncodeUntaggedIntValue encodes an int value, appends it to the supplied buffer, and returns the final buffer.

(appendTo []byte, i int64)

Source from the content-addressed store, hash-verified

2610// EncodeUntaggedIntValue encodes an int value, appends it to the supplied buffer, and
2611// returns the final buffer.
2612func EncodeUntaggedIntValue(appendTo []byte, i int64) []byte {
2613 return EncodeNonsortingStdlibVarint(appendTo, i)
2614}
2615
2616const floatValueEncodedLength = uint64AscendingEncodedLength
2617

Callers 1

EncodeIntValueFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…