processing a binary file?
If you get the contents of a binary file like with
$str = file_get_contents($fname);
is there a way that you can access the elements of $str?
$str may be hundreds of kilobytes and contains binary data and I need
to process each byte of the string and write the processed byte to
another file. Something efficient like [$i]?
Kirk
|