|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.dexterim.oscar.entity.ByteBase
net.sf.dexterim.oscar.entity.DWord
DWord Class wraps the dword datatype known from C/C++. A DWord can be constructed from an int value or from a 4 byte array.
Constructor Summary | |
DWord()
Creates a DWord from an int Value |
|
DWord(byte[] data)
Creates a DWord from a byte array |
|
DWord(int value)
Creates a DWord from an int Value |
Method Summary | |
static DWord |
createFrom(byte[] data)
Creates a DWord from an byte array |
int |
getLength()
Returns the length in bytes. |
java.lang.String |
toString()
|
Methods inherited from class net.sf.dexterim.oscar.entity.ByteBase |
getValue, toByteArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DWord(int value)
value
- public DWord()
public DWord(byte[] data)
data
- byte array. Not null and filled with 4 bytesMethod Detail |
public static DWord createFrom(byte[] data)
data
- byte array. Not null and filled with 4 bytes
public int getLength()
ByteBased.getLength()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |