Seal helper class
This commit is contained in:
@@ -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 "";
|
||||
|
||||
Reference in New Issue
Block a user