public void write (byte[] buf, int off, int len) throws IOException
public void write (int bval) throws IOException
  public void write (byte[] buf, int off, int len) throws IOException  {    out.write(buf, off, len);    sum.update(buf, off, len);  }