I wonder why even have a max line length limit in the first place? I.e. is this for a technical reason or just display related?
It's just sp hacky i cant belive it's a real life's solution
But I agree with sibling comment: it makes more sense when its called "encoding" instead of "inserting chars into original stream"