code: @Override
      public final void write(final byte[] b) throws IOException {
          file.write(b);
          counter = counter + b.length;
      }
docs: Writes <code>b.length</code> bytes from the specified byte array to this file, starting at the current file pointer.
  
  @param b
  the data.
  
  @exception IOException
  if an I/O error occurs.