public class ByteBufferUtils
extends java.lang.Object
Constructor and Description |
---|
ByteBufferUtils() |
Modifier and Type | Method and Description |
---|---|
static short |
getUnsignedByte(java.nio.ByteBuffer bb) |
static short |
getUnsignedByte(java.nio.ByteBuffer bb,
int position) |
static long |
getUnsignedInt(java.nio.ByteBuffer bb) |
static long |
getUnsignedInt(java.nio.ByteBuffer bb,
int position) |
static int |
getUnsignedShort(java.nio.ByteBuffer bb) |
static int |
getUnsignedShort(java.nio.ByteBuffer bb,
int position) |
static void |
putUnsignedByte(java.nio.ByteBuffer bb,
int value) |
static void |
putUnsignedByte(java.nio.ByteBuffer bb,
int position,
int value) |
static void |
putUnsignedInt(java.nio.ByteBuffer bb,
int position,
long value) |
static void |
putUnsignedInt(java.nio.ByteBuffer bb,
long value) |
static void |
putUnsignedShort(java.nio.ByteBuffer bb,
int value) |
static void |
putUnsignedShort(java.nio.ByteBuffer bb,
int position,
int value) |
public static short getUnsignedByte(java.nio.ByteBuffer bb)
public static void putUnsignedByte(java.nio.ByteBuffer bb, int value)
public static short getUnsignedByte(java.nio.ByteBuffer bb, int position)
public static void putUnsignedByte(java.nio.ByteBuffer bb, int position, int value)
public static int getUnsignedShort(java.nio.ByteBuffer bb)
public static void putUnsignedShort(java.nio.ByteBuffer bb, int value)
public static int getUnsignedShort(java.nio.ByteBuffer bb, int position)
public static void putUnsignedShort(java.nio.ByteBuffer bb, int position, int value)
public static long getUnsignedInt(java.nio.ByteBuffer bb)
public static void putUnsignedInt(java.nio.ByteBuffer bb, long value)
public static long getUnsignedInt(java.nio.ByteBuffer bb, int position)
public static void putUnsignedInt(java.nio.ByteBuffer bb, int position, long value)