|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.util.EndianUtilFns
public class EndianUtilFns
Constructor Summary | |
---|---|
protected |
EndianUtilFns()
|
Method Summary | |
---|---|
static char |
getLeChar(byte[] buf)
Gets a little-endian 16 bit char. |
static double |
getLeDouble(byte[] buf)
Gets a little-endian 64 bit double. |
static float |
getLeFloat(byte[] buf)
Gets a little-endian 32 bit float. |
static int |
getLeInt(byte[] buf)
Gets a little-endian 32 bit int. |
static long |
getLeLong(byte[] buf)
Gets a little-endian 64 bit long. |
static short |
getLeShort(byte[] buf)
Gets a little-endian 16 bit short. |
static int |
getLeUnsignedShort(byte[] buf)
Gets a little-endian unsigned 16 bit short. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected EndianUtilFns()
Method Detail |
---|
public static short getLeShort(byte[] buf)
buf
- data buffer.
public static int getLeUnsignedShort(byte[] buf)
buf
- data buffer.
public static char getLeChar(byte[] buf)
buf
- data buffer.
EOFException
- If end of file is reached.
IOException
- If other I/O error has occurred.public static int getLeInt(byte[] buf)
buf
- data buffer.
public static long getLeLong(byte[] buf)
buf
- data buffer.
public static float getLeFloat(byte[] buf)
buf
- data buffer.
public static double getLeDouble(byte[] buf)
buf
- data buffer.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |