MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / EncodeDecimal

Function EncodeDecimal

tidbparser/dependency/util/codec/decimal.go:24–35  ·  view source on GitHub ↗

EncodeDecimal encodes a decimal into a byte slice which can be sorted lexicographically later.

(b []byte, dec *types.MyDecimal, precision, frac int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

encodeFunction · 0.85
encodeChunkRowFunction · 0.85

Calls 2

PrecisionAndFracMethod · 0.80
ToBinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…