public final class HexSupport extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
toBytesFromHex(String hex) |
static String |
toHexFromBytes(byte[] bytes) |
static String |
toHexFromInt(int value,
boolean trim) |
public static byte[] toBytesFromHex(String hex)
hex
- public static String toHexFromBytes(byte[] bytes)
bytes
- public static String toHexFromInt(int value, boolean trim)
value
- trim
- if the leading 0's should be trimmed off.Copyright © 2009–2016 FuseSource, Corp.. All rights reserved.