"Sputnik" help  
Sputnik Help
BinaryDecodeBHex(<encoded>)

Description

Decodes a BinHex 4.0 encoded string back to its original binary representation.

Parameters

<encoded> The BinHex 4.0 encoded string to be decoded.

Return Value

Success: Returns decoded binary string.
Failure: Returns empty binary string.

Remarks

The BinaryDecodeBHex function is used to reverse the encoding process of BinHex 4.0. It takes a BinHex 4.0 encoded string and decodes it back to its original binary form.

Related

BinaryEncodeBHex

Example

Example of usage:

my $str = Bin('a' rr 'f', 'A' rr 'F', '0' rr '9');
my $encoded = BinaryEncodeBHex($str);
say $encoded;
my $decoded = BinaryDecodeBHex($encoded);
say $decoded;
// PRINTS
// !*!$&R,hB@*MC'9Q38*$4%9'-$%b-c3e0MFi1FYC
// abcdefABCDEF0123456789

 


Contact
Cheryl (uberfox@hotmail.com)
Homepage
http://ubersoft.org