|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j256.simplemagic.endian.BigEndianConverter
public class BigEndianConverter
Converts values in "big" endian-ness where the high-order bytes come before the low-order (ABCD). Also called network byte order. Big is better. Motorola 68000 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. |
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |