public class HDFNativeData
extends java.lang.Object
Constructor and Description |
---|
HDFNativeData() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
byteToByte(byte data) |
static double[] |
byteToDouble(byte[] data) |
static double |
byteToDouble(byte[] data,
int start) |
static double[] |
byteToDouble(int start,
int len,
byte[] data) |
static float[] |
byteToFloat(byte[] data) |
static float |
byteToFloat(byte[] data,
int start) |
static float[] |
byteToFloat(int start,
int len,
byte[] data) |
static int[] |
byteToInt(byte[] data) |
static int |
byteToInt(byte[] data,
int start) |
static int[] |
byteToInt(int start,
int len,
byte[] data) |
static long[] |
byteToLong(byte[] data) |
static long |
byteToLong(byte[] data,
int start) |
static long[] |
byteToLong(int start,
int len,
byte[] data) |
java.lang.Object |
byteToNumber(byte[] barray,
java.lang.Object obj) |
static short[] |
byteToShort(byte[] data) |
static short |
byteToShort(byte[] data,
int start) |
static short[] |
byteToShort(int start,
int len,
byte[] data) |
static java.lang.Object |
defineDataObject(int dataType,
int datasize)
Allocate a 1D array large enough to hold a multidimensional
array of 'datasize' elements of 'dataType' numbers.
|
static byte[] |
doubleToByte(double data) |
static byte[] |
doubleToByte(int start,
int len,
double[] data) |
static byte[] |
floatToByte(float data) |
static byte[] |
floatToByte(int start,
int len,
float[] data) |
static byte[] |
intToByte(int data) |
static byte[] |
intToByte(int start,
int len,
int[] data) |
static byte[] |
longToByte(int start,
int len,
long[] data) |
static byte[] |
longToByte(long data) |
static byte[] |
shortToByte(int start,
int len,
short[] data) |
static byte[] |
shortToByte(short data) |
public static int[] byteToInt(byte[] data)
public static float[] byteToFloat(byte[] data)
public static short[] byteToShort(byte[] data)
public static long[] byteToLong(byte[] data)
public static double[] byteToDouble(byte[] data)
public static int[] byteToInt(int start, int len, byte[] data)
public static int byteToInt(byte[] data, int start)
public static short[] byteToShort(int start, int len, byte[] data)
public static short byteToShort(byte[] data, int start)
public static float[] byteToFloat(int start, int len, byte[] data)
public static float byteToFloat(byte[] data, int start)
public static long[] byteToLong(int start, int len, byte[] data)
public static long byteToLong(byte[] data, int start)
public static double[] byteToDouble(int start, int len, byte[] data)
public static double byteToDouble(byte[] data, int start)
public static byte[] intToByte(int start, int len, int[] data)
public static byte[] shortToByte(int start, int len, short[] data)
public static byte[] floatToByte(int start, int len, float[] data)
public static byte[] longToByte(int start, int len, long[] data)
public static byte[] doubleToByte(int start, int len, double[] data)
public static byte[] byteToByte(byte data)
public static byte[] intToByte(int data)
public static byte[] shortToByte(short data)
public static byte[] floatToByte(float data)
public static byte[] longToByte(long data)
public static byte[] doubleToByte(double data)
public java.lang.Object byteToNumber(byte[] barray, java.lang.Object obj) throws HDFException
HDFException
public static java.lang.Object defineDataObject(int dataType, int datasize)
dataType
- the type of the iamge datadatasize
- the size of the image data array