Public Member Functions | |
HDFNativeData () | |
Object | byteToNumber (byte[] barray, Object obj) throws HDFException |
Static Public Member Functions | |
static native int[] | byteToInt (byte[] data) |
static native float[] | byteToFloat (byte[] data) |
static native short[] | byteToShort (byte[] data) |
static native long[] | byteToLong (byte[] data) |
static native double[] | byteToDouble (byte[] data) |
static native int[] | byteToInt (int start, int len, byte[] data) |
static int | byteToInt (byte[] data, int start) |
static native short[] | byteToShort (int start, int len, byte[] data) |
static short | byteToShort (byte[] data, int start) |
static native float[] | byteToFloat (int start, int len, byte[] data) |
static float | byteToFloat (byte[] data, int start) |
static native long[] | byteToLong (int start, int len, byte[] data) |
static long | byteToLong (byte[] data, int start) |
static native double[] | byteToDouble (int start, int len, byte[] data) |
static double | byteToDouble (byte[] data, int start) |
static native byte[] | intToByte (int start, int len, int[] data) |
static native byte[] | shortToByte (int start, int len, short[] data) |
static native byte[] | floatToByte (int start, int len, float[] data) |
static native byte[] | longToByte (int start, int len, long[] data) |
static native byte[] | doubleToByte (int start, int len, double[] data) |
static native byte[] | byteToByte (byte data) |
static native byte[] | intToByte (int data) |
static native byte[] | shortToByte (short data) |
static native byte[] | floatToByte (float data) |
static native byte[] | longToByte (long data) |
static native byte[] | doubleToByte (double data) |
static Object | defineDataObject (int dataType, int datasize) |
Allocate a 1D array large enough to hold a multidimensional array of 'datasize' elements of 'dataType' numbers. |
Definition at line 14 of file HDFNativeData.java.
ncsa.hdf.hdflib.HDFNativeData.HDFNativeData | ( | ) |
Definition at line 16 of file HDFNativeData.java.
|
static |
|
static |
Referenced by ncsa.hdf.hdflib.HDFNativeData.byteToDouble().
|
static |
|
static |
Definition at line 56 of file HDFNativeData.java.
References ncsa.hdf.hdflib.HDFNativeData.byteToDouble().
|
static |
Referenced by ncsa.hdf.hdflib.HDFNativeData.byteToFloat().
|
static |
|
static |
Definition at line 40 of file HDFNativeData.java.
References ncsa.hdf.hdflib.HDFNativeData.byteToFloat().
|
static |
Referenced by ncsa.hdf.hdflib.HDFNativeData.byteToInt().
|
static |
|
static |
Definition at line 24 of file HDFNativeData.java.
References ncsa.hdf.hdflib.HDFNativeData.byteToInt().
|
static |
Referenced by ncsa.hdf.hdflib.HDFNativeData.byteToLong().
|
static |
|
static |
Definition at line 48 of file HDFNativeData.java.
References ncsa.hdf.hdflib.HDFNativeData.byteToLong().
Object ncsa.hdf.hdflib.HDFNativeData.byteToNumber | ( | byte[] | barray, |
Object | obj | ||
) | throws HDFException |
Definition at line 82 of file HDFNativeData.java.
|
static |
Referenced by ncsa.hdf.hdflib.HDFNativeData.byteToShort().
|
static |
|
static |
Definition at line 32 of file HDFNativeData.java.
References ncsa.hdf.hdflib.HDFNativeData.byteToShort().
|
static |
Allocate a 1D array large enough to hold a multidimensional array of 'datasize' elements of 'dataType' numbers.
This is called from ncsa.hdf.hdfobject.HDFGR and ncsa.hdf.hdfobject.HDFSDS, and hdf.ncsa.io.ASCII2HDF
dataType | the type of the iamge data |
datasize | the size of the image data array |
Definition at line 128 of file HDFNativeData.java.
References ncsa.hdf.hdflib.HDFConstants.DFNT_CHAR, ncsa.hdf.hdflib.HDFConstants.DFNT_FLOAT32, ncsa.hdf.hdflib.HDFConstants.DFNT_FLOAT64, ncsa.hdf.hdflib.HDFConstants.DFNT_INT16, ncsa.hdf.hdflib.HDFConstants.DFNT_INT32, ncsa.hdf.hdflib.HDFConstants.DFNT_INT64, ncsa.hdf.hdflib.HDFConstants.DFNT_INT8, ncsa.hdf.hdflib.HDFConstants.DFNT_LITEND, ncsa.hdf.hdflib.HDFConstants.DFNT_UCHAR8, ncsa.hdf.hdflib.HDFConstants.DFNT_UINT16, ncsa.hdf.hdflib.HDFConstants.DFNT_UINT32, ncsa.hdf.hdflib.HDFConstants.DFNT_UINT64, and ncsa.hdf.hdflib.HDFConstants.DFNT_UINT8.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |