private void checkDataIntegrity() throws StoreException {
      if (!checkDataIntegrityInByteBufferWithCRC(serEntries)) {
        throw new StoreException("IndexSegment : " + indexFile.getAbsolutePath() + " crc check does not match",
            StoreErrorCodes.IndexFileFormatError);
      }
    }
Check data integrity of index file (represented by byte buffer). This methods computes crc of byte buffer and
compares it with crc value at the end of file.
@throws StoreException
ambry-store/src/main/java/com/github/ambry/store/IndexSegment.java