|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j256.simplemagic.endian.LittleEndianConverter
public class LittleEndianConverter
Converts values in "little" endian-ness where the high-order bytes come _after_ the low-order (DCBA). x86 processors.
Method Summary | |
---|---|
Long |
convertId3(int offset,
byte[] bytes,
int size)
Convert a number of bytes starting at an offset into a long integer where the high-bit in each byte is always 0. |
Long |
convertNumber(int offset,
byte[] bytes,
int size)
Convert a number of bytes starting at an offset into a long integer. |
Long |
convertNumber(int offset,
byte[] bytes,
int size,
int shift,
int mask)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Long convertNumber(int offset, byte[] bytes, int size)
EndianConverter
convertNumber
in interface EndianConverter
public Long convertId3(int offset, byte[] bytes, int size)
EndianConverter
convertId3
in interface EndianConverter
public Long convertNumber(int offset, byte[] bytes, int size, int shift, int mask)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |