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

Function DecodeVarintDescending

pkg/util/encoding/encoding.go:315–318  ·  view source on GitHub ↗

DecodeVarintDescending decodes a uint64 value which was encoded using EncodeVarintDescending.

(b []byte)

Source from the content-addressed store, hash-verified

313// DecodeVarintDescending decodes a uint64 value which was encoded
314// using EncodeVarintDescending.
315func DecodeVarintDescending(b []byte) ([]byte, int64, error) {
316 leftover, v, err := DecodeVarintAscending(b)
317 return leftover, ^v, err
318}
319
320// EncodeUvarintAscending encodes the uint64 value using a variable length
321// (length-prefixed) representation. The length is encoded as a single

Callers 2

DecodeDurationDescendingFunction · 0.85
prettyPrintFirstValueFunction · 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…