DecodeUnsafeStringDescending decodes a string value from the input buffer which was encoded using EncodeStringDescending or EncodeBytesDescending. The r []byte is used as a temporary buffer in order to avoid memory allocations. The remainder of the input buffer and the decoded string are returned. N
(b []byte, r []byte)
| 777 | // returned. Note that the returned string may share storage with the input |
| 778 | // buffer. |
| 779 | func DecodeUnsafeStringDescending(b []byte, r []byte) ([]byte, string, error) { |
| 780 | b, r, err := DecodeBytesDescending(b, r) |
| 781 | return b, unsafeString(r), err |
| 782 | } |
| 783 | |
| 784 | // EncodeNullAscending encodes a NULL value. The encodes bytes are appended to the |
| 785 | // supplied buffer and the final buffer is returned. The encoded value for a |
no test coverage detected
searching dependent graphs…