Decodes string in Hex to buffer.
Decodes string in Hex to byte array.
Encodes buffer to a string in Hex format.
Encodes byte array to a string in Hex format.
Checks if given string is in Hex format.