private static void readSeparator(DataInput in) throws IOException {
    byte[] sep = new byte[4];
    in.readFully(sep);
    if (sep[0] != 13 || sep[1] != 10 || sep[2] != 13 || sep[3] != 10) {
      throw new IllegalStateException(
        String.format("Expected final separator CR LF CR LF, but got: %d %d %d %d", sep[0], sep[1],
          sep[2], sep[3]));
    }
  }
Creates a new WARCRecord by parsing it out of a {@link DataInput} stream.
@param in The input source from which one record will be read.
hbase-it/src/test/java/org/apache/hadoop/hbase/test/util/warc/WARCRecord.java