I have a binary string of the form
"000000110111010100110110001010001010110111010110010001111111101010000001" # for example
to encode to base 64, i use pack and encode_base64
my $base64 = encode_base64 pack 'B*', $binaryString;
Which I would then get.
A3U2KK3WR/qB
I would like to revert back to the original binary form of the string, I tried
my $binString = decode_base64 $base64;
but that returns
u6(��G��
How can i revert back the original binary string?