@Override
  public int read() throws IOException {
    int val = stream.read();
    crc.update((byte) (val & 0xFF));
    return val;
  }
Create a CrcInputStream using the specified CRC generator
@param in
ambry-utils/src/main/java/com/github/ambry/utils/CrcInputStream.java