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

Function EncodeIntValue

pkg/util/encoding/encoding.go:2605–2608  ·  view source on GitHub ↗

EncodeIntValue encodes an int value with its value tag, appends it to the supplied buffer, and returns the final buffer.

(appendTo []byte, colIDDelta uint32, i int64)

Source from the content-addressed store, hash-verified

2603// EncodeIntValue encodes an int value with its value tag, appends it to the
2604// supplied buffer, and returns the final buffer.
2605func EncodeIntValue(appendTo []byte, colIDDelta uint32, i int64) []byte {
2606 appendTo = EncodeValueTag(appendTo, colIDDelta, Int)
2607 return EncodeUntaggedIntValue(appendTo, i)
2608}
2609
2610// EncodeUntaggedIntValue encodes an int value, appends it to the supplied buffer, and
2611// returns the final buffer.

Callers

nothing calls this directly

Calls 2

EncodeValueTagFunction · 0.85
EncodeUntaggedIntValueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…