@Override
  public int available() throws IOException {
    int available = stream.available();
    logger.trace("remaining bytes {}", available);
    return available;
  }
update crc with the all the data reading from given buffer.
@param buffer The buffer to update the crc value.
@throws IOException any I/O error.
ambry-utils/src/main/java/com/github/ambry/utils/CrcInputStream.java