public void write (byte[] b) throws IOException, NullPointerException
public void write (int b) throws IOException
  public void write (byte[] b) throws IOException, NullPointerException  {    fd.write (b, 0, b.length);  }