📄 contenttypehelper.java
字号:
package org.xmlBlaster.protocol.corba.serverIdl;/** * Generated from IDL definition of alias "ContentType" * @author JacORB IDL compiler */public final class ContentTypeHelper{ private static org.omg.CORBA.TypeCode _type = null; public static void insert (org.omg.CORBA.Any any, byte[] s) { any.type (type ()); write (any.create_output_stream (), s); } public static byte[] extract (final org.omg.CORBA.Any any) { return read (any.create_input_stream ()); } public static org.omg.CORBA.TypeCode type () { if (_type == null) { _type = org.omg.CORBA.ORB.init().create_alias_tc(org.xmlBlaster.protocol.corba.serverIdl.ContentTypeHelper.id(), "ContentType",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(10)))); } return _type; } public static String id() { return "IDL:org.xmlBlaster.protocol.corba/serverIdl/ContentType:1.0"; } public static byte[] read (final org.omg.CORBA.portable.InputStream _in) { byte[] _result; int _l_result1 = _in.read_long(); _result = new byte[_l_result1]; _in.read_octet_array(_result,0,_l_result1); return _result; } public static void write (final org.omg.CORBA.portable.OutputStream _out, byte[] _s) { _out.write_long(_s.length); _out.write_octet_array(_s,0,_s.length); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -