I have a string that was placed into an array and turned into binary using .pack('B*'). How do I convert that binary data back into a string? .unpack('H*') is not the solution here, it returns a string of gibberish.
-
stackoverflow.com/questions/515478/… . I think this answers your question.João Vilaça– João Vilaça2015-05-30 13:55:27 +00:00Commented May 30, 2015 at 13:55
-
unpack('H*') is not the solution here, it returns a string of gibberish.bf86– bf862015-05-30 14:22:22 +00:00Commented May 30, 2015 at 14:22
-
@bf86 I have added the answer please check.Amit Sharma– Amit Sharma2015-05-30 16:31:39 +00:00Commented May 30, 2015 at 16:31
Add a comment
|