|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--picture.io.ByteUtils
Utility functions dealing with bytes.
Constructor Summary | |
ByteUtils()
|
Method Summary | |
static int |
unsignedByte2Int(byte b)
Converts an unsigned byte to an int, i.e. it returns values between 0 and 255 instead of -128 to 127. |
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 int unsignedByte2Int(byte b)
b
- byte to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |