Added numBytesRead to read of record

To keep track of number of bytes read and compare it to expected number
of bytes in the field definition (bSize)