"chop" is the maximum offset where the null-byte should be written; respect this even if about to write just one (non-null) character.
"chop" is the maximum offset where the null-byte should be written; respect this even if about to write just one (non-null) character.