java.nio
Class ByteBufferHelper

java.lang.Object
java.nio.ByteBufferHelper
- final class ByteBufferHelper
- extends java.lang.Object
|
Method Summary |
static char |
getChar(ByteBuffer buffer,
ByteOrder order)
|
static char |
getChar(ByteBuffer buffer,
int index,
ByteOrder order)
|
static double |
getDouble(ByteBuffer buffer,
ByteOrder order)
|
static double |
getDouble(ByteBuffer buffer,
int index,
ByteOrder order)
|
static float |
getFloat(ByteBuffer buffer,
ByteOrder order)
|
static float |
getFloat(ByteBuffer buffer,
int index,
ByteOrder order)
|
static int |
getInt(ByteBuffer buffer,
ByteOrder order)
|
static int |
getInt(ByteBuffer buffer,
int index,
ByteOrder order)
|
static long |
getLong(ByteBuffer buffer,
ByteOrder order)
|
static long |
getLong(ByteBuffer buffer,
int index,
ByteOrder order)
|
static short |
getShort(ByteBuffer buffer,
ByteOrder order)
|
static short |
getShort(ByteBuffer buffer,
int index,
ByteOrder order)
|
static void |
putChar(ByteBuffer buffer,
char value,
ByteOrder order)
|
static void |
putChar(ByteBuffer buffer,
int index,
char value,
ByteOrder order)
|
static void |
putDouble(ByteBuffer buffer,
double value,
ByteOrder order)
|
static void |
putDouble(ByteBuffer buffer,
int index,
double value,
ByteOrder order)
|
static void |
putFloat(ByteBuffer buffer,
float value,
ByteOrder order)
|
static void |
putFloat(ByteBuffer buffer,
int index,
float value,
ByteOrder order)
|
static void |
putInt(ByteBuffer buffer,
int value,
ByteOrder order)
|
static void |
putInt(ByteBuffer buffer,
int index,
int value,
ByteOrder order)
|
static void |
putLong(ByteBuffer buffer,
int index,
long value,
ByteOrder order)
|
static void |
putLong(ByteBuffer buffer,
long value,
ByteOrder order)
|
static void |
putShort(ByteBuffer buffer,
int index,
short value,
ByteOrder order)
|
static void |
putShort(ByteBuffer buffer,
short value,
ByteOrder order)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteBufferHelper
ByteBufferHelper()
getChar
public static char getChar(ByteBuffer buffer,
ByteOrder order)
putChar
public static void putChar(ByteBuffer buffer,
char value,
ByteOrder order)
getChar
public static char getChar(ByteBuffer buffer,
int index,
ByteOrder order)
putChar
public static void putChar(ByteBuffer buffer,
int index,
char value,
ByteOrder order)
getShort
public static short getShort(ByteBuffer buffer,
ByteOrder order)
putShort
public static void putShort(ByteBuffer buffer,
short value,
ByteOrder order)
getShort
public static short getShort(ByteBuffer buffer,
int index,
ByteOrder order)
putShort
public static void putShort(ByteBuffer buffer,
int index,
short value,
ByteOrder order)
getInt
public static int getInt(ByteBuffer buffer,
ByteOrder order)
putInt
public static void putInt(ByteBuffer buffer,
int value,
ByteOrder order)
getInt
public static int getInt(ByteBuffer buffer,
int index,
ByteOrder order)
putInt
public static void putInt(ByteBuffer buffer,
int index,
int value,
ByteOrder order)
getLong
public static long getLong(ByteBuffer buffer,
ByteOrder order)
putLong
public static void putLong(ByteBuffer buffer,
long value,
ByteOrder order)
getLong
public static long getLong(ByteBuffer buffer,
int index,
ByteOrder order)
putLong
public static void putLong(ByteBuffer buffer,
int index,
long value,
ByteOrder order)
getFloat
public static float getFloat(ByteBuffer buffer,
ByteOrder order)
putFloat
public static void putFloat(ByteBuffer buffer,
float value,
ByteOrder order)
getFloat
public static float getFloat(ByteBuffer buffer,
int index,
ByteOrder order)
putFloat
public static void putFloat(ByteBuffer buffer,
int index,
float value,
ByteOrder order)
getDouble
public static double getDouble(ByteBuffer buffer,
ByteOrder order)
putDouble
public static void putDouble(ByteBuffer buffer,
double value,
ByteOrder order)
getDouble
public static double getDouble(ByteBuffer buffer,
int index,
ByteOrder order)
putDouble
public static void putDouble(ByteBuffer buffer,
int index,
double value,
ByteOrder order)