EncodeUint32Descending encodes the uint32 value so that it sorts in reverse order, from largest to smallest.
(b []byte, v uint32)
| 156 | // EncodeUint32Descending encodes the uint32 value so that it sorts in |
| 157 | // reverse order, from largest to smallest. |
| 158 | func EncodeUint32Descending(b []byte, v uint32) []byte { |
| 159 | return EncodeUint32Ascending(b, ^v) |
| 160 | } |
| 161 | |
| 162 | // DecodeUint32Ascending decodes a uint32 from the input buffer, treating |
| 163 | // the input as a big-endian 4 byte uint32 representation. The remainder |
nothing calls this directly
no test coverage detected
searching dependent graphs…