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

Function DecodeVarintDescending

pkg/util/encoding/encoding.go:396–399  ·  view source on GitHub ↗

DecodeVarintDescending decodes a int64 value which was encoded using EncodeVarintDescending.

(b []byte)

Source from the content-addressed store, hash-verified

394// DecodeVarintDescending decodes a int64 value which was encoded
395// using EncodeVarintDescending.
396func DecodeVarintDescending(b []byte) ([]byte, int64, error) {
397 leftover, v, err := DecodeVarintAscending(b)
398 return leftover, ^v, err
399}
400
401// EncodeUvarintAscending encodes the uint64 value using a variable length
402// (length-prefixed) representation. The length is encoded as a single

Callers 3

DecodeDurationDescendingFunction · 0.85
prettyPrintFirstValueFunction · 0.85
DecodeJSONValueLengthFunction · 0.85

Calls 1

DecodeVarintAscendingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…