EncodeDecimalDescending is the descending version of EncodeDecimalAscending.
(appendTo []byte, d *apd.Decimal)
| 48 | |
| 49 | // EncodeDecimalDescending is the descending version of EncodeDecimalAscending. |
| 50 | func EncodeDecimalDescending(appendTo []byte, d *apd.Decimal) []byte { |
| 51 | return encodeDecimal(appendTo, d, true) |
| 52 | } |
| 53 | |
| 54 | func encodeDecimal(appendTo []byte, d *apd.Decimal, invert bool) []byte { |
| 55 | if d.IsZero() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…