本文整理了Java中org.omg.CORBA.portable.InputStream.read_char_array()
方法的一些代码示例,展示了InputStream.read_char_array()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。InputStream.read_char_array()
方法的具体详情如下:
包路径:org.omg.CORBA.portable.InputStream
类名称:InputStream
方法名:read_char_array
暂无
代码示例来源:origin: org.jacorb/jacorb
/**
* Operation read_char_array
*/
public void read_char_array( org.omg.CORBA.CharSeqHolder seq, int offset, int length )
{
delegate.read_char_array( seq.value, offset, length );
}
代码示例来源:origin: org.jacorb/jacorb-omgapi
public static char[] read (final org.omg.CORBA.portable.InputStream _in)
{
char[] _result;
_result = new char[4];
_in.read_char_array(_result,0,4);
return _result;
}
代码示例来源:origin: JacORB/JacORB
public static char[] read (final org.omg.CORBA.portable.InputStream _in)
{
char[] _result;
_result = new char[4];
_in.read_char_array(_result,0,4);
return _result;
}
代码示例来源:origin: org.jppf/jppf-jmxremote_optional
@Override
public void read_char_array(final char[] value, final int offset, final int length) {
in.read_char_array(value, offset, length);
}
代码示例来源:origin: org.apache.yoko/yoko-spec-corba
public static char[]
read(org.omg.CORBA.portable.InputStream in)
{
char[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new char[len0];
in.read_char_array(_ob_v, 0, len0);
return _ob_v;
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public static char[] read (org.omg.CORBA.portable.InputStream istream)
{
char value[] = null;
int _len0 = istream.read_long ();
value = new char[_len0];
istream.read_char_array (value, 0, _len0);
return value;
}
代码示例来源:origin: org.jacorb/jacorb-omgapi
public static char[] read (final org.omg.CORBA.portable.InputStream _in)
{
char[] _result;
int _l_result30 = _in.read_long();
try
{
int x = _in.available();
if ( x > 0 && _l_result30 > x )
{
throw new org.omg.CORBA.MARSHAL("Sequence length too large. Only " + x + " available and trying to assign " + _l_result30);
}
}
catch (java.io.IOException e)
{
}
_result = new char[_l_result30];
_in.read_char_array(_result,0,_l_result30);
return _result;
}
代码示例来源:origin: JacORB/JacORB
public static char[] read (final org.omg.CORBA.portable.InputStream _in)
{
char[] _result;
int _l_result30 = _in.read_long();
try
{
int x = _in.available();
if ( x > 0 && _l_result30 > x )
{
throw new org.omg.CORBA.MARSHAL("Sequence length too large. Only " + x + " available and trying to assign " + _l_result30);
}
}
catch (java.io.IOException e)
{
}
_result = new char[_l_result30];
_in.read_char_array(_result,0,_l_result30);
return _result;
}
代码示例来源:origin: org.apache.yoko/yoko-spec-corba
public static MessageHeader_1_1
read(org.omg.CORBA.portable.InputStream in)
{
MessageHeader_1_1 _ob_v = new MessageHeader_1_1();
int len0 = 4;
_ob_v.magic = new char[len0];
in.read_char_array(_ob_v.magic, 0, len0);
_ob_v.GIOP_version = VersionHelper.read(in);
_ob_v.flags = in.read_octet();
_ob_v.message_type = in.read_octet();
_ob_v.message_size = in.read_ulong();
return _ob_v;
}
代码示例来源:origin: org.apache.yoko/yoko-spec-corba
public static MessageHeader_1_0
read(org.omg.CORBA.portable.InputStream in)
{
MessageHeader_1_0 _ob_v = new MessageHeader_1_0();
int len0 = 4;
_ob_v.magic = new char[len0];
in.read_char_array(_ob_v.magic, 0, len0);
_ob_v.GIOP_version = VersionHelper.read(in);
_ob_v.byte_order = in.read_boolean();
_ob_v.message_type = in.read_octet();
_ob_v.message_size = in.read_ulong();
return _ob_v;
}
代码示例来源:origin: JacORB/JacORB
public static org.omg.MIOP.PacketHeader_1_0 read (final org.omg.CORBA.portable.InputStream in)
{
org.omg.MIOP.PacketHeader_1_0 result = new org.omg.MIOP.PacketHeader_1_0();
result.magic = new char[4];
in.read_char_array(result.magic,0,4);
result.hdr_version=in.read_octet();
result.flags=in.read_octet();
result.packet_length=in.read_ushort();
result.packet_number=in.read_ulong();
result.number_of_packets=in.read_ulong();
result.Id = org.omg.MIOP.UniqueIdHelper.read(in);
return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.MIOP.PacketHeader_1_0 s)
代码示例来源:origin: org.jacorb/jacorb-omgapi
public static org.omg.MIOP.PacketHeader_1_0 read (final org.omg.CORBA.portable.InputStream in)
{
org.omg.MIOP.PacketHeader_1_0 result = new org.omg.MIOP.PacketHeader_1_0();
result.magic = new char[4];
in.read_char_array(result.magic,0,4);
result.hdr_version=in.read_octet();
result.flags=in.read_octet();
result.packet_length=in.read_ushort();
result.packet_number=in.read_ulong();
result.number_of_packets=in.read_ulong();
result.Id = org.omg.MIOP.UniqueIdHelper.read(in);
return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.MIOP.PacketHeader_1_0 s)
代码示例来源:origin: apache/cxf
stream.read_char_array(values, 0, arraySize);
val = values;
break;
代码示例来源:origin: org.apache.yoko/yoko-core
if (charWriterRequired_ || charConversionRequired_) {
char[] ch = new char[len];
in.read_char_array(ch, 0, len);
write_char_array(ch, 0, len);
} else {
内容来源于网络,如有侵权,请联系作者删除!