code: public void writeDirect( byte[] b, int off, int len, int flags ) throws IOException {
          if( len <= 0 ) {
              return;
          }
  
          if( tmp == null ) {
              throw new IOException( "Bad file descriptor" );
          }
          ensureOpen();
  
          if( file.log.level >= 4 )
              file.log.println( "write: fid=" + file.fid + ",off=" + off + ",len=" + len );
  
          int w;
          do {
              w = len > writeSize ? writeSize : len;
              if( useNTSmbs ) {
                  reqx.setParam( file.fid, fp, len - w, b, off, w );
  if ((flags & 1) != 0) {
      reqx.setParam( file.fid, fp, len, b, off, w );
      reqx.writeMode = 0x8;
  } else {
      reqx.writeMode = 0;
  }
                  file.send( reqx, rspx );
                  fp += rspx.count;
                  len -= rspx.count;
                  off += rspx.count;
              } else {
                  req.setParam( file.fid, fp, len - w, b, off, w );
                  fp += rsp.count;
                  len -= rsp.count;
                  off += rsp.count;
                  file.send( req, rsp );
              }
          } while( len > 0 );
      }
docs: Just bypasses TransWaitNamedPipe - used by DCERPC bind.