Package slash.common.type
Class HexadecimalNumber
java.lang.Object
slash.common.type.HexadecimalNumber
Helps to encode bytes to hexadecimal encoded numbers and back.
- Author:
- Christian Pesch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]decodeBytes(String string) static intstatic StringencodeByte(byte aByte) static StringencodeBytes(byte[] bytes) static StringencodeInt(int integer) static StringencodeInt(int integer, int digits)
-
Constructor Details
-
HexadecimalNumber
public HexadecimalNumber()
-
-
Method Details
-
encodeByte
-
encodeBytes
-
decodeBytes
-
encodeInt
-
encodeInt
-
decodeInt
-