Java tutorial
//package com.java2s; //License from project: Open Source License public class Main { public static byte parseByteHex(String data) { byte value = Byte.parseByte(data, 16); return value; } }