Class Hex

java.lang.Object
org.dmfs.jems2.charsequence.Hex
All Implemented Interfaces:
CharSequence

public final class Hex extends Object implements CharSequence
The hexadecimal CharSequence representation of a byte array. The digits a-f will be represented by lower case letters.

Example:

 assertEquals(
     new Hex(new byte[{0x01, 0x23, 0x45, 0x67, (byte) 0x89, (byte) 0xab, (byte) 0xcd, (byte) 0xef }).toString(),
     "0123456789abcdef");