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

Function DecodeDecimalAscending

pkg/util/encoding/decimal.go:244–246  ·  view source on GitHub ↗

DecodeDecimalAscending returns the remaining byte slice after decoding and the decoded decimal from buf.

(buf []byte, tmp []byte)

Source from the content-addressed store, hash-verified

242// DecodeDecimalAscending returns the remaining byte slice after decoding and the decoded
243// decimal from buf.
244func DecodeDecimalAscending(buf []byte, tmp []byte) ([]byte, apd.Decimal, error) {
245 return decodeDecimal(buf, tmp, false)
246}
247
248// DecodeDecimalDescending decodes decimals encoded with EncodeDecimalDescending.
249func DecodeDecimalDescending(buf []byte, tmp []byte) ([]byte, apd.Decimal, error) {

Callers 1

prettyPrintFirstValueFunction · 0.85

Calls 1

decodeDecimalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…