Checks if at the current position it's possible to read length bytes.
length
void checkCanRead(int length) { if (!canRead(length)) { throw BytesBufferEOF(); } }