EncodeUint32Descending encodes the uint32 value so that it sorts in reverse order, from largest to smallest.
(b []byte, v uint32)
| 223 | // EncodeUint32Descending encodes the uint32 value so that it sorts in |
| 224 | // reverse order, from largest to smallest. |
| 225 | func EncodeUint32Descending(b []byte, v uint32) []byte { |
| 226 | return EncodeUint32Ascending(b, ^v) |
| 227 | } |
| 228 | |
| 229 | // DecodeUint16Ascending decodes a uint16 from the input buffer, treating |
| 230 | // the input as a big-endian 2 byte uint16 representation. The remainder |
nothing calls this directly
no test coverage detected
searching dependent graphs…