Fix crc being an int when it should have been long.
Initial reader code.