code: public boolean write(byte []buf1, int off1, int len1,
                         byte []buf2, int off2, int len2,
                         boolean isEnd)
      throws IOException
    {
      if (len1 == 0) {
        write(buf2, off2, len2, isEnd);
  
        return true;
      }
      else
        return false;
    }
docs: Writes a pair of buffer to the underlying stream.
  
  @param buf1 the byte array to write.
  @param off1 the offset into the byte array.
  @param len1 the number of bytes to write.
  @param buf2 the byte array to write.
  @param off2 the offset into the byte array.
  @param len2 the number of bytes to write.
  @param isEnd true when the write is flushing a close.