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)
| 693 | // EncodeBytes for details. The encoded bytes are append to the supplied buffer |
| 694 | // and the resulting buffer is returned. |
| 695 | func EncodeStringAscending(b []byte, s string) []byte { |
| 696 | return encodeStringAscendingWithTerminatorAndPrefix(b, s, ascendingEscapes.escapedTerm, bytesMarker) |
| 697 | } |
| 698 | |
| 699 | // encodeStringAscendingWithTerminatorAndPrefix encodes the string value using an escape-based encoding. See |
| 700 | // EncodeBytes for details. The encoded bytes are append to the supplied buffer |
no test coverage detected
searching dependent graphs…