4 ms·
Another option for dealing with nuls in a string: http://en.m.wikipedia.org/wiki/Consistent_Overhead_Byte_Stuffing http://en.m.wikipedia.org/wiki/Consistent_Ov
by salgernon 11y ago
Another option for dealing with nuls in a string:
http://en.m.wikipedia.org/wiki/Consistent_Overhead_Byte_Stuffing http://en.m.wikipedia.org/wiki/Consistent_Overhead_Byte_Stuf...
Basically eliminates a null in a byte stream so it can be used as a terminator.