EncodeStringDescending is the descending version of EncodeStringAscending.
(b []byte, s string)
| 983 | |
| 984 | // EncodeStringDescending is the descending version of EncodeStringAscending. |
| 985 | func EncodeStringDescending(b []byte, s string) []byte { |
| 986 | arg := UnsafeConvertStringToBytes(s) |
| 987 | return EncodeBytesDescending(b, arg) |
| 988 | } |
| 989 | |
| 990 | // UnsafeConvertBytesToString performs an unsafe conversion from a []byte to a |
| 991 | // string. The returned string will share the underlying memory with the |
no test coverage detected
searching dependent graphs…