bin2hex Convert binary data into hexadecimal representation &reftitle.description; stringbin2hex stringstring Returns an ASCII string containing the hexadecimal representation of string. The conversion is done byte-wise with the high-nibble first. &reftitle.parameters; string A string. &reftitle.returnvalues; Returns the hexadecimal representation of the given string. &reftitle.examples; <function>bin2hex</function> example ]]> &example.outputs; &reftitle.seealso; hex2bin pack