@Test
public void fromHex() {

    assertArrayEquals(new byte[]{1}, HexArray.fromHex("01"));
    assertArrayEquals(new byte[]{((byte) 0xFF)}, HexArray.fromHex("ff"));
    assertArrayEquals(new byte[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, HexArray.fromHex("0102030405060708090a0b0c"));
}