code: public void write(byte[] b, int off, int len)
      {
          if (b == null) {
              throw new NullPointerException();
          } else if ((off < 0) || (off > b.length) || (len < 0) ||
                 ((off + len) > b.length) || ((off + len) < 0)) {
              throw new IndexOutOfBoundsException();
          }
          size += len;
      }
docs: Write a <code>byte[]</code>. The size is incremented, but the actual data is thrown away.