public void write (byte[] b, int off, int len) throws IOException, NullPointerException, IndexOutOfBoundsException
public void write (int b) throws IOException
  public void write (byte[] b, int off, int len)    throws IOException, NullPointerException, IndexOutOfBoundsException  {    if (off < 0 || len < 0 || off + len > b.length)      throw new ArrayIndexOutOfBoundsException ();    fd.write (b, off, len);  }