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

Function DecodeDecimalAscending

pkg/util/encoding/decimal.go:249–251  ·  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

247// DecodeDecimalAscending returns the remaining byte slice after decoding and the decoded
248// decimal from buf.
249func DecodeDecimalAscending(buf []byte, tmp []byte) ([]byte, apd.Decimal, error) {
250 return decodeDecimal(buf, tmp, false)
251}
252
253// DecodeDecimalDescending decodes decimals encoded with EncodeDecimalDescending.
254func 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…