Introduction - If you have any usage issues, please Google them yourself
Nulls only appear as end-of-string terminators. Move them to the output buffer, but do not update the length of the buffer, so that any following output will overwrite the null.