Lets say that there are 31 bits left over in the file
Let's say 24 bits (3 bytes). It's "hard" to store a fraction number of a bytes in a file.
read would return three bytes instead of four for the last read.
jwkrahn points out a real problem too.
In reply to Re^3: Difficulty restraining read function to 32 bits
by ikegami
in thread Difficulty restraining read function to 32 bits
by TeamViterbi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |