| java.lang.Object org.xbill.DNS.utils.base16
base16 | public class base16 (Code) | | Routines for converting between Strings of hex-encoded data and arrays of
binary data. This is not actually used by DNS.
author: Brian Wellington |
fromString | public static byte[] fromString(String str)(Code) | | Convert a hex-encoded String to binary data
Parameters: str - A String containing the encoded data An array containing the binary data, or null if the string is invalid |
toString | public static String toString(byte[] b)(Code) | | Convert binary data to a hex-encoded String
Parameters: b - An array containing binary data A String containing the encoded data |
|
|