Package com.tom_roush.pdfbox.util
Class Hex
- java.lang.Object
-
- com.tom_roush.pdfbox.util.Hex
-
public final class Hex extends Object
Utility functions for hex encoding.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]getBytes(byte b)Returns the bytes corresponding to the ASCII hex encoding of the given byte.static StringgetString(byte b)Returns a hex string of the given byte.
-
-
-
Method Detail
-
getString
public static String getString(byte b)
Returns a hex string of the given byte.
-
getBytes
public static byte[] getBytes(byte b)
Returns the bytes corresponding to the ASCII hex encoding of the given byte.
-
-