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

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

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

OutputStream.write_char_array介绍

暂无

代码示例

代码示例来源:origin: jboss/jboss-javaee-specs

/**
 * Preserves the incorrect 1.3 behavior which truncates Java chars in arrays to 8-bit CORBA chars. Bug 4367783. This
 * enables us to continue interoperating with our legacy ORBs. If this goes into Ladybird, then Ladybird and Kestrel
 * will interoperate as long as people don't use chars greater than 8-bits.
 */
protected void writeCharArray(org.omg.CORBA_2_3.portable.OutputStream out, char[] array, int offset, int length)
{
  out.write_char_array(array, offset, length);
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

/**
 * Preserves the incorrect 1.3 behavior which truncates Java chars in arrays to 8-bit CORBA chars. Bug 4367783. This
 * enables us to continue interoperating with our legacy ORBs. If this goes into Ladybird, then Ladybird and Kestrel
 * will interoperate as long as people don't use chars greater than 8-bits.
 */
protected void writeCharArray(org.omg.CORBA_2_3.portable.OutputStream out, char[] array, int offset, int length)
{
  out.write_char_array(array, offset, length);
}

相关文章