Java tutorial
//package com.java2s; public class Main { /** * Convert char(uint8) to Hex String * * @param u8 * the char(uint8) to be converted * @return the Hex String */ public static String convertU8ToHexString(char u8) { return Integer.toHexString(u8); } }