org.omg.CORBA.portable.OutputStream.write_char_array()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(3.5k)|赞(0)|评价(0)|浏览(96)

本文整理了Java中org.omg.CORBA.portable.OutputStream.write_char_array()方法的一些代码示例,展示了OutputStream.write_char_array()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。OutputStream.write_char_array()方法的具体详情如下:
包路径:org.omg.CORBA.portable.OutputStream
类名称:OutputStream
方法名:write_char_array

OutputStream.write_char_array介绍

暂无

代码示例

代码示例来源:origin: org.jacorb/jacorb

/**
 * Operation write_char_array
 */
public void write_char_array( char[] seq, int offset, int length )
{
  delegate.write_char_array( seq, offset, length );
}

代码示例来源:origin: org.jacorb/jacorb-omgapi

public static void write (final org.omg.CORBA.portable.OutputStream _out, char[] _s)
  {
        if (_s.length<4)
      throw new org.omg.CORBA.MARSHAL("Incorrect array size "+_s.length+", expecting 4");
    _out.write_char_array(_s,0,4);
  }
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

public static void
  write(org.omg.CORBA.portable.OutputStream out, char[] val)
  {
    int len0 = val.length;
    out.write_ulong(len0);
    out.write_char_array(val, 0, len0);
  }
}

代码示例来源:origin: JacORB/JacORB

public static void write (final org.omg.CORBA.portable.OutputStream _out, char[] _s)
  {
        if (_s.length<4)
      throw new org.omg.CORBA.MARSHAL("Incorrect array size "+_s.length+", expecting 4");
    _out.write_char_array(_s,0,4);
  }
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public static void write (org.omg.CORBA.portable.OutputStream ostream, char[] value)
{
  ostream.write_long (value.length);
  ostream.write_char_array (value, 0, value.length);
}

代码示例来源:origin: org.jacorb/jacorb-omgapi

public static void write (final org.omg.CORBA.portable.OutputStream _out, char[] _s)
  {
    
    _out.write_long(_s.length);
    _out.write_char_array(_s,0,_s.length);
  }
}

代码示例来源:origin: JacORB/JacORB

public static void write (final org.omg.CORBA.portable.OutputStream _out, char[] _s)
  {
    
    _out.write_long(_s.length);
    _out.write_char_array(_s,0,_s.length);
  }
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

public static void
  write(org.omg.CORBA.portable.OutputStream out, MessageHeader_1_1 val)
  {
    int len0 = val.magic.length;
    if(len0 != 4)
       throw new org.omg.CORBA.MARSHAL();
    out.write_char_array(val.magic, 0, len0);
    VersionHelper.write(out, val.GIOP_version);
    out.write_octet(val.flags);
    out.write_octet(val.message_type);
    out.write_ulong(val.message_size);
  }
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

public static void
  write(org.omg.CORBA.portable.OutputStream out, MessageHeader_1_0 val)
  {
    int len0 = val.magic.length;
    if(len0 != 4)
       throw new org.omg.CORBA.MARSHAL();
    out.write_char_array(val.magic, 0, len0);
    VersionHelper.write(out, val.GIOP_version);
    out.write_boolean(val.byte_order);
    out.write_octet(val.message_type);
    out.write_ulong(val.message_size);
  }
}

代码示例来源:origin: JacORB/JacORB

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.MIOP.PacketHeader_1_0 s)
  {
        if (s.magic.length<4)
      throw new org.omg.CORBA.MARSHAL("Incorrect array size "+s.magic.length+", expecting 4");
    out.write_char_array(s.magic,0,4);
    out.write_octet(s.hdr_version);
    out.write_octet(s.flags);
    out.write_ushort(s.packet_length);
    out.write_ulong(s.packet_number);
    out.write_ulong(s.number_of_packets);
    org.omg.MIOP.UniqueIdHelper.write(out,s.Id);
  }
}

代码示例来源:origin: org.jacorb/jacorb-omgapi

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.MIOP.PacketHeader_1_0 s)
  {
        if (s.magic.length<4)
      throw new org.omg.CORBA.MARSHAL("Incorrect array size "+s.magic.length+", expecting 4");
    out.write_char_array(s.magic,0,4);
    out.write_octet(s.hdr_version);
    out.write_octet(s.flags);
    out.write_ushort(s.packet_length);
    out.write_ulong(s.packet_number);
    out.write_ulong(s.number_of_packets);
    org.omg.MIOP.UniqueIdHelper.write(out,s.Id);
  }
}

相关文章

微信公众号

最新文章

更多