You could then seek() and tell() around the string, or read() in 1 byte increments.
I'm not sure what's under the covers, but both seem elegant from the outside.
In reply to Re: How to process each byte in a binary file?
by kschwab
in thread How to process each byte in a binary file?
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |