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

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

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

OutputStream.write_wchar_array介绍

暂无

代码示例

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

private void writeCharArray(org.omg.CORBA_2_3.portable.OutputStream out,
              char[] array,
              int offset,
              int length)
{
  out.write_wchar_array(array, offset, length);
}

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

/**
 * Encapsulates writing of Java char arrays so that the 1.3 subclass can override it without exposing internals
 * across packages. This is a fix for bug 4367783.
 */
protected void writeCharArray(org.omg.CORBA_2_3.portable.OutputStream out, char[] array, int offset, int length)
{
  out.write_wchar_array(array, offset, length);
}

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

private void writeCharArray(org.omg.CORBA_2_3.portable.OutputStream out,
              char[] array,
              int offset,
              int length)
{
  out.write_wchar_array(array, offset, length);
}

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

/**
 * Encapsulates writing of Java char arrays so that the 1.3 subclass can override it without exposing internals
 * across packages. This is a fix for bug 4367783.
 */
protected void writeCharArray(org.omg.CORBA_2_3.portable.OutputStream out, char[] array, int offset, int length)
{
  out.write_wchar_array(array, offset, length);
}

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

public final void writeChars(String data) throws IOException{
  try{
    writeObjectState.writeData(this);
    char buf[] = data.toCharArray();
    orbStream.write_wchar_array(buf, 0, buf.length);
  } catch(Error e) {
    IOException ioexc = new IOException(e.getMessage());
    ioexc.initCause(e) ;
    throw ioexc ;
  }
}

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

public final void writeChars(String data) throws IOException{
  try{
    writeObjectState.writeData(this);
    char buf[] = data.toCharArray();
    orbStream.write_wchar_array(buf, 0, buf.length);
  } catch(Error e) {
    IOException ioexc = new IOException(e.getMessage());
    ioexc.initCause(e) ;
    throw ioexc ;
  }
}

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

public final void writeChars(String data) throws IOException
{
  try
  {
    writeObjectState.writeData(this);
    char buf[] = data.toCharArray();
    orbStream.write_wchar_array(buf, 0, buf.length);
  }
  catch (Error e)
  {
    IOException ioexc = new IOException(e.getMessage());
    ioexc.initCause(e);
    throw ioexc;
  }
}

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

public final void writeChars(String data) throws IOException
{
  try
  {
    writeObjectState.writeData(this);
    char buf[] = data.toCharArray();
    orbStream.write_wchar_array(buf, 0, buf.length);
  }
  catch (Error e)
  {
    IOException ioexc = new IOException(e.getMessage());
    ioexc.initCause(e);
    throw ioexc;
  }
}

相关文章