corba/src/java.corba/share/classes/org/omg/CORBA/DataOutputStream.java
author chegar
Mon, 18 Aug 2014 10:07:13 +0100
changeset 26048 c6cdd019b5cb
parent 25862 a5e25d68f971
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     1
/*
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     2
 * Copyright (c) 1998, 1999, Oracle and/or its affiliates. All rights reserved.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
02bb8761fcce Initial load
duke
parents:
diff changeset
     4
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
02bb8761fcce Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    10
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
02bb8761fcce Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
02bb8761fcce Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
02bb8761fcce Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
02bb8761fcce Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
02bb8761fcce Initial load
duke
parents:
diff changeset
    16
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
02bb8761fcce Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
02bb8761fcce Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
02bb8761fcce Initial load
duke
parents:
diff changeset
    20
 *
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    23
 * questions.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    24
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    25
02bb8761fcce Initial load
duke
parents:
diff changeset
    26
package org.omg.CORBA;
02bb8761fcce Initial load
duke
parents:
diff changeset
    27
02bb8761fcce Initial load
duke
parents:
diff changeset
    28
/** Defines the methods used to write primitive data types to output streams
02bb8761fcce Initial load
duke
parents:
diff changeset
    29
* for marshalling custom value types.  This interface is used by user
02bb8761fcce Initial load
duke
parents:
diff changeset
    30
* written custom marshalling code for custom value types.
02bb8761fcce Initial load
duke
parents:
diff changeset
    31
* @see org.omg.CORBA.DataInputStream
02bb8761fcce Initial load
duke
parents:
diff changeset
    32
* @see org.omg.CORBA.CustomMarshal
02bb8761fcce Initial load
duke
parents:
diff changeset
    33
*/
02bb8761fcce Initial load
duke
parents:
diff changeset
    34
public interface DataOutputStream extends org.omg.CORBA.portable.ValueBase
02bb8761fcce Initial load
duke
parents:
diff changeset
    35
{
02bb8761fcce Initial load
duke
parents:
diff changeset
    36
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    37
    * Writes the Any value to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
    38
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
    39
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
    40
    void write_any (org.omg.CORBA.Any value);
02bb8761fcce Initial load
duke
parents:
diff changeset
    41
02bb8761fcce Initial load
duke
parents:
diff changeset
    42
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    43
    * Writes the boolean value to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
    44
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
    45
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
    46
    void write_boolean (boolean value);
02bb8761fcce Initial load
duke
parents:
diff changeset
    47
02bb8761fcce Initial load
duke
parents:
diff changeset
    48
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    49
    * Writes the IDL character value to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
    50
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
    51
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
    52
    void write_char (char value);
02bb8761fcce Initial load
duke
parents:
diff changeset
    53
02bb8761fcce Initial load
duke
parents:
diff changeset
    54
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    55
    * Writes the IDL wide character value to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
    56
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
    57
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
    58
    void write_wchar (char value);
02bb8761fcce Initial load
duke
parents:
diff changeset
    59
02bb8761fcce Initial load
duke
parents:
diff changeset
    60
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    61
    * Writes the IDL octet value (represented as a Java byte) to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
    62
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
    63
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
    64
    void write_octet (byte value);
02bb8761fcce Initial load
duke
parents:
diff changeset
    65
02bb8761fcce Initial load
duke
parents:
diff changeset
    66
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    67
    * Writes the IDL short value to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
    68
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
    69
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
    70
    void write_short (short value);
02bb8761fcce Initial load
duke
parents:
diff changeset
    71
02bb8761fcce Initial load
duke
parents:
diff changeset
    72
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    73
    * Writes the IDL unsigned short value (represented as a Java short
02bb8761fcce Initial load
duke
parents:
diff changeset
    74
    * value) to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
    75
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
    76
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
    77
    void write_ushort (short value);
02bb8761fcce Initial load
duke
parents:
diff changeset
    78
02bb8761fcce Initial load
duke
parents:
diff changeset
    79
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    80
    * Writes the IDL long value (represented as a Java int) to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
    81
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
    82
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
    83
    void write_long (int value);
02bb8761fcce Initial load
duke
parents:
diff changeset
    84
02bb8761fcce Initial load
duke
parents:
diff changeset
    85
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    86
    * Writes the IDL unsigned long value (represented as a Java int) to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
    87
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
    88
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
    89
    void write_ulong (int value);
02bb8761fcce Initial load
duke
parents:
diff changeset
    90
02bb8761fcce Initial load
duke
parents:
diff changeset
    91
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    92
    * Writes the IDL long long value (represented as a Java long) to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
    93
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
    94
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
    95
    void write_longlong (long value);
02bb8761fcce Initial load
duke
parents:
diff changeset
    96
02bb8761fcce Initial load
duke
parents:
diff changeset
    97
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
    98
    * Writes the IDL unsigned long long value (represented as a Java long)
02bb8761fcce Initial load
duke
parents:
diff changeset
    99
    * to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   100
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   101
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   102
    void write_ulonglong (long value);
02bb8761fcce Initial load
duke
parents:
diff changeset
   103
02bb8761fcce Initial load
duke
parents:
diff changeset
   104
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   105
    * Writes the IDL float value to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   106
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   107
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   108
    void write_float (float value);
02bb8761fcce Initial load
duke
parents:
diff changeset
   109
02bb8761fcce Initial load
duke
parents:
diff changeset
   110
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   111
    * Writes the IDL double value to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   112
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   113
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   114
    void write_double (double value);
02bb8761fcce Initial load
duke
parents:
diff changeset
   115
02bb8761fcce Initial load
duke
parents:
diff changeset
   116
    // write_longdouble not supported by IDL/Java mapping
02bb8761fcce Initial load
duke
parents:
diff changeset
   117
02bb8761fcce Initial load
duke
parents:
diff changeset
   118
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   119
    * Writes the IDL string value to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   120
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   121
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   122
    void write_string (String value);
02bb8761fcce Initial load
duke
parents:
diff changeset
   123
02bb8761fcce Initial load
duke
parents:
diff changeset
   124
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   125
    * Writes the IDL wide string value (represented as a Java String) to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   126
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   127
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   128
    void write_wstring (String value);
02bb8761fcce Initial load
duke
parents:
diff changeset
   129
02bb8761fcce Initial load
duke
parents:
diff changeset
   130
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   131
    * Writes the IDL CORBA::Object value to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   132
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   133
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   134
    void write_Object (org.omg.CORBA.Object value);
02bb8761fcce Initial load
duke
parents:
diff changeset
   135
02bb8761fcce Initial load
duke
parents:
diff changeset
   136
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   137
    * Writes the IDL Abstract interface type to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   138
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   139
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   140
    void write_Abstract (java.lang.Object value);
02bb8761fcce Initial load
duke
parents:
diff changeset
   141
02bb8761fcce Initial load
duke
parents:
diff changeset
   142
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   143
    * Writes the IDL value type value to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   144
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   145
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   146
    void write_Value (java.io.Serializable value);
02bb8761fcce Initial load
duke
parents:
diff changeset
   147
02bb8761fcce Initial load
duke
parents:
diff changeset
   148
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   149
    * Writes the typecode to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   150
    * @param value The value to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   151
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   152
    void write_TypeCode (org.omg.CORBA.TypeCode value);
02bb8761fcce Initial load
duke
parents:
diff changeset
   153
02bb8761fcce Initial load
duke
parents:
diff changeset
   154
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   155
    * Writes the array of IDL Anys from offset for length elements to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   156
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   157
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   158
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   159
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   160
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   161
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   162
    void write_any_array (org.omg.CORBA.Any[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   163
02bb8761fcce Initial load
duke
parents:
diff changeset
   164
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   165
    * Writes the array of IDL booleans from offset for length elements to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   166
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   167
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   168
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   169
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   170
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   171
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   172
    void write_boolean_array (boolean[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   173
02bb8761fcce Initial load
duke
parents:
diff changeset
   174
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   175
    * Writes the array of IDL characters from offset for length elements to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   176
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   177
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   178
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   179
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   180
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   181
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   182
    void write_char_array (char[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   183
02bb8761fcce Initial load
duke
parents:
diff changeset
   184
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   185
    * Writes the array of IDL wide characters from offset for length elements to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   186
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   187
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   188
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   189
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   190
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   191
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   192
    void write_wchar_array (char[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   193
02bb8761fcce Initial load
duke
parents:
diff changeset
   194
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   195
    * Writes the array of IDL octets from offset for length elements to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   196
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   197
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   198
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   199
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   200
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   201
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   202
    void write_octet_array (byte[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   203
02bb8761fcce Initial load
duke
parents:
diff changeset
   204
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   205
    * Writes the array of IDL shorts from offset for length elements to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   206
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   207
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   208
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   209
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   210
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   211
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   212
    void write_short_array (short[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   213
02bb8761fcce Initial load
duke
parents:
diff changeset
   214
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   215
    * Writes the array of IDL unsigned shorts (represented as Java shorts)
02bb8761fcce Initial load
duke
parents:
diff changeset
   216
    * from offset for length elements to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   217
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   218
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   219
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   220
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   221
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   222
    void write_ushort_array (short[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   223
02bb8761fcce Initial load
duke
parents:
diff changeset
   224
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   225
    * Writes the array of IDL longs from offset for length elements to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   226
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   227
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   228
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   229
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   230
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   231
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   232
    void write_long_array (int[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   233
02bb8761fcce Initial load
duke
parents:
diff changeset
   234
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   235
    * Writes the array of IDL unsigned longs (represented as Java ints)
02bb8761fcce Initial load
duke
parents:
diff changeset
   236
    * from offset for length elements to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   237
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   238
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   239
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   240
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   241
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   242
    void write_ulong_array (int[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   243
02bb8761fcce Initial load
duke
parents:
diff changeset
   244
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   245
    * Writes the array of IDL unsigned long longs (represented as Java longs)
02bb8761fcce Initial load
duke
parents:
diff changeset
   246
    * from offset for length elements to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   247
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   248
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   249
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   250
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   251
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   252
    void write_ulonglong_array (long[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   253
02bb8761fcce Initial load
duke
parents:
diff changeset
   254
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   255
    * Writes the array of IDL long longs from offset for length elements to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   256
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   257
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   258
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   259
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   260
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   261
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   262
    void write_longlong_array (long[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   263
02bb8761fcce Initial load
duke
parents:
diff changeset
   264
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   265
    * Writes the array of IDL floats from offset for length elements to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   266
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   267
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   268
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   269
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   270
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   271
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   272
    void write_float_array (float[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   273
02bb8761fcce Initial load
duke
parents:
diff changeset
   274
    /**
02bb8761fcce Initial load
duke
parents:
diff changeset
   275
    * Writes the array of IDL doubles from offset for length elements to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   276
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   277
    * @param seq The array to be written.
02bb8761fcce Initial load
duke
parents:
diff changeset
   278
    * @param offset The index into seq of the first element to write to the
02bb8761fcce Initial load
duke
parents:
diff changeset
   279
    * output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   280
    * @param length The number of elements to write to the output stream.
02bb8761fcce Initial load
duke
parents:
diff changeset
   281
    */
02bb8761fcce Initial load
duke
parents:
diff changeset
   282
    void write_double_array (double[] seq, int offset, int length);
02bb8761fcce Initial load
duke
parents:
diff changeset
   283
} // interface DataOutputStream