bin2hex

bin2hex --  2進数のデータを16進表現に変換する

説明

string bin2hex(string str);

str の16進表現を有するASCII文字列を返します。 変換は、上位ニブルからバイト毎に行われます。