1 Hex

This class consists exclusively of static methods for obtaining encoders and decoders for the Hexadecimal conversion.

Copy
<script>
    var conversor = new Ax.util.Hex();
    console.log(conversor.encode("Hello world".getBytes()));
    console.log(conversor.decode("48656c6c6f20776f726c64"));
</script>
48656c6c6f20776f726c64
00000000 48 65 6C 6C 6F 20 77 6F 72 6C 64                Hello world
Return Method Description
byte[] decode(String) Basic hexadecimal decode
String encode(byte[]) encode to hexadecimal a byte[]