And hope that there is no byte above 127 in that code, if you use the crude filter.
if (b != 0xFF) is only a little better.
The fact that the three 0xFF's can occur inside data, also needs some special consideration.
And hope that there is no byte above 127 in that code, if you use the crude filter.
if (b != 0xFF) is only a little better.
The fact that the three 0xFF's can occur inside data, also needs some special consideration.