in reply to Re: How to process each byte in a binary file?
in thread How to process each byte in a binary file?

Doing a read of one byte does indeed work better than changing the input record size as suggested by an earlier reply.

It also runs an order of magnitude slower than the next slower method under discussion!

How it works under the covers? It uses substr.

—John