code: protected int readByte(InputStream in, CRC32 crc) throws IOException {
          int b = in.read();
          if (b == -1) {
              throw new EOFException();
          }
          if (crc != null) {
              crc.update(b);
          }
          return b & 0xff;
      }
docs: Read a byte.
  
  We do not expect to get a -1 reading.  If we do, we throw exception.
  Update the crc as we go.
  
  @param in InputStream to read.
  @param crc CRC to update.
  @return Byte read.
  
  @throws IOException