Seal helper class

This commit is contained in:
Enrique Zamudio
2013-05-07 12:30:19 -05:00
parent 04ba54e522
commit b1884c29d1
@@ -1,10 +1,12 @@
package com.solab.iso8583.util;
/** Utility class to perform HEX encoding/decoding of values. */
public class HexCodec {
public final class HexCodec {
static final char[] HEX = new char[]{ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
private HexCodec(){}
public static String hexEncode(byte[] buffer, int start, int length) {
if (buffer.length == 0) {
return "";