|
ION Java User's Guide: ION Java Class and Method Reference |
|
The getDimensionedByteArray method returns the byte array value of the variable. The result contains the same number of dimensions as the variable.
public final Object getDimensionedByteArray
(where Object can be a 1- to 8-dimensional array of Java primitive type 'byte')
The method returns the multidimensional byte array value of the variable.
None.
IONVariable myVariable = c_ionCon.getIDLVariable("my3dByteArr");
byte b3d[][][];
try {
b3d = (byte[][][])myVariable.getDimensionedByteArray();
} catch(IONNotAnArrayException e) {
System.err.println("Variable is not an array");
}
IDL Online Help (March 06, 2007)