EncodeStringAscending encodes the string value using an escape-based encoding. See EncodeBytes for details. The encoded bytes are append to the supplied buffer and the resulting buffer is returned.
(b []byte, s string)
| 929 | // EncodeBytes for details. The encoded bytes are append to the supplied buffer |
| 930 | // and the resulting buffer is returned. |
| 931 | func EncodeStringAscending(b []byte, s string) []byte { |
| 932 | return encodeStringAscendingWithTerminatorAndPrefix(b, s, ascendingBytesEscapes.escapedTerm, bytesMarker) |
| 933 | } |
| 934 | |
| 935 | // encodeStringAscendingWithTerminatorAndPrefix encodes the string value using an escape-based encoding. See |
| 936 | // EncodeBytes for details. The encoded bytes are append to the supplied buffer |
no test coverage detected
searching dependent graphs…