DecodeBytesAscending decodes a []byte value from the input buffer which was encoded using EncodeBytesAscending. The decoded bytes are appended to r. The remainder of the input buffer and the decoded []byte are returned.
(b []byte, r []byte)
| 739 | // are appended to r. The remainder of the input buffer and the |
| 740 | // decoded []byte are returned. |
| 741 | func DecodeBytesAscending(b []byte, r []byte) ([]byte, []byte, error) { |
| 742 | return decodeBytesInternal(b, r, ascendingBytesEscapes, true /* expectMarker */, false /* deepCopy */) |
| 743 | } |
| 744 | |
| 745 | // ValidateDecodeBytesAscending is like DecodeBytesAscending, but discards the |
| 746 | // decoded bytes. The remainder of the input buffer is returned on success. |
no test coverage detected
searching dependent graphs…