![]() |
HDF5 1.14.6
API Reference
|
Public Member Functions | |
HDFArray (Object anArray) throws HDF5JavaException | |
byte[] | emptyBytes () throws HDF5JavaException |
byte[] | byteify () throws HDF5JavaException |
Object | arrayify (byte[] bytes) throws HDF5JavaException |
The input must be a Java Array (possibly multidimensional) of primitive numbers or sub-classes of Number.
The input is analysed to determine the number of dimensions and size of each dimension, as well as the type of the elements.
The description is saved in private variables, and used to convert data.
anArray | The array object. |
hdf.hdf5lib.exceptions.HDF5JavaException | object is not an array. |
Given a one-dimensional array of bytes representing numbers, convert it to a java array of the shape and size passed to the constructor.
bytes | The bytes to construct the Array. |
hdf.hdf5lib.exceptions.HDF5JavaException | the object not an array or other internal error. |
Given a Java array of numbers, convert it to a one-dimensional array of bytes in correct native order.
hdf.hdf5lib.exceptions.HDF5JavaException | the object not an array or other internal error. |
Allocate a one-dimensional array of bytes sufficient to store the array.
hdf.hdf5lib.exceptions.HDF5JavaException | Allocation failed. |