Issue #2 open
Test in-place encoding and/or decoding (one buffer for input and output)
Examine whether the code supports in-place encoding and/or decoding. That is, output is written to the input buffer, overwriting the original input. It could be useful to save RAM in small embedded systems.
- My guess is that in-place decoding should work as-is
- In-place encoding should work I think, however the input would have to be offset from the start of the output buffer by a certain number of bytes.
Once this has been checked:
- Add some unit tests to check this.
- Add documentation to say whether/how it works.