bin2hex Convert binary data into hexadecimal representation &reftitle.description; stringbin2hex stringstr Returns an ASCII string containing the hexadecimal representation of str. The conversion is done byte-wise with the high-nibble first. &reftitle.parameters; str A character. &reftitle.returnvalues; Returns the hexadecimal representation of the given string. &reftitle.seealso; pack unpack