should be sizeof(readBuffer) to make sure it always matches.  Tightly coupling these things prevents inadvertent buffer overruns.  Stack scribblers are very hard to track down.