Extract util methods to separate classes

This commit is contained in:
AsamK 2018-11-18 10:45:26 +01:00
parent 4ab904b88e
commit 7443225d96
6 changed files with 168 additions and 131 deletions

View file

@ -6,6 +6,9 @@ public class Hex {
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'
};
private Hex() {
}
public static String toStringCondensed(byte[] bytes) {
StringBuffer buf = new StringBuffer();
for (int i = 0; i < bytes.length; i++) {