September 2002
Intermediate to advanced
416 pages
14h 46m
English
Util
This class performs hex encoding and decoding of arbitrary data. Hex encoding turns each byte into a hex string representing the value of that byte (e.g., a byte containing the number 10 is represented by the string “a”).
public class Util { // Public Constructors public Util(); // Public Class Methods public static String hexEncode(byte[ ] buf) throws ArrayIndexOutOfBoundsException; public static String hexEncode(byte[ ] buf, short offset) throws ArrayIndexOutOfBoundsException; public static String hexEncode(byte[ ] buf, short offset, short nbytes) throws ArrayIndexOutOfBoundsException; }
Read now
Unlock full access