Class Utility
java.lang.Object
de.javawi.jstun.util.Utility
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final longfourBytesToLong(byte[] value) static final byte[]integerToFourBytes(int value) static final byteintegerToOneByte(int value) static final byte[]integerToTwoBytes(int value) static final intoneByteToInteger(byte value) static final inttwoBytesToInteger(byte[] value)
-
Constructor Details
-
Utility
public Utility()
-
-
Method Details
-
integerToOneByte
- Throws:
UtilityException
-
integerToTwoBytes
- Throws:
UtilityException
-
integerToFourBytes
- Throws:
UtilityException
-
oneByteToInteger
- Throws:
UtilityException
-
twoBytesToInteger
- Throws:
UtilityException
-
fourBytesToLong
- Throws:
UtilityException
-