|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoemware.core.util.ByteNumberUtils
oemware.core.util.ByteUtils
public final class ByteUtils
The byte utils. All byte and byte buffer utilities should go here.
| Constructor Summary | |
|---|---|
ByteUtils()
|
|
| Method Summary | |
|---|---|
static byte[] |
appendArray(byte[] buffer1,
byte[] buffer2)
Appends the second array to the first array. |
static java.nio.ByteBuffer |
copyByteBuffer(java.nio.ByteBuffer pBuffer)
Clone a byte buffer. |
static byte[] |
trimArray(byte[] buffer,
int pNum)
Removes X bytes from the end of the array. |
| Methods inherited from class oemware.core.util.ByteNumberUtils |
|---|
createInt, createIntB, createUInt, getInt, getLongL, getUByte, getUInt, getUInt, getUShort, getUShortChar, setIntB, setLongL, setUInt, setUShort, setUShortChar |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteUtils()
| Method Detail |
|---|
public static final java.nio.ByteBuffer copyByteBuffer(java.nio.ByteBuffer pBuffer)
pBuffer - The buffer.
public static final byte[] appendArray(byte[] buffer1,
byte[] buffer2)
buffer1 - The first buffer.buffer2 - The second buffer.
public static final byte[] trimArray(byte[] buffer,
int pNum)
buffer - The buffer.pNum - The number of bytes to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||