public WARCRecord read() throws IOException {
    WARCRecord record = new WARCRecord(dataStream);
    recordsRead++;
    return record;
  }
Reads the next record from the file.
@return The record that was read.
hbase-it/src/test/java/org/apache/hadoop/hbase/test/util/warc/WARCFileReader.java