Package ru.bitel.common
Class ByteBufferUtils
java.lang.Object
ru.bitel.common.ByteBufferUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic short
static short
getUnsignedByte
(ByteBuffer bb, int position) static long
static long
getUnsignedInt
(ByteBuffer bb, int position) static int
static int
getUnsignedShort
(ByteBuffer bb, int position) static void
putUnsignedByte
(ByteBuffer bb, int value) static void
putUnsignedByte
(ByteBuffer bb, int position, int value) static void
putUnsignedInt
(ByteBuffer bb, int position, long value) static void
putUnsignedInt
(ByteBuffer bb, long value) static void
putUnsignedShort
(ByteBuffer bb, int value) static void
putUnsignedShort
(ByteBuffer bb, int position, int value)
-
Constructor Details
-
ByteBufferUtils
public ByteBufferUtils()
-
-
Method Details
-
getUnsignedByte
-
putUnsignedByte
-
getUnsignedByte
-
putUnsignedByte
-
getUnsignedShort
-
putUnsignedShort
-
getUnsignedShort
-
putUnsignedShort
-
getUnsignedInt
-
putUnsignedInt
-
getUnsignedInt
-
putUnsignedInt
-