|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.base.core.bytearrays.XByteArraySupport
public class XByteArraySupport
XByteArraySupport gives some support in manipulating byte
arrays.
| Constructor Summary | |
|---|---|
XByteArraySupport()
|
|
| Method Summary | |
|---|---|
static byte[] |
subArray(byte[] array,
int pos,
int length)
subArray extracts a byte array from another. |
static byte[] |
transformToByteArray(java.lang.Object inObject)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XByteArraySupport()
| Method Detail |
|---|
public static byte[] subArray(byte[] array,
int pos,
int length)
throws XException
subArray extracts a byte array from another.
array - the complete byte arraypos - the starting position for extractinglength - the length of extracted sub-array
XException - in case of unpossible pos or
length values
public static byte[] transformToByteArray(java.lang.Object inObject)
throws XException
inObject - must be an InputStream
XException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||