Converts a string to a binary object. Used to convert
binary data that has been encoded into string format
back into binary data.

binaryDecode(String, binaryencoding) → returns Binary

binaryDecode Argument Reference


A string containing encoded binary data.


A string specifying the algorithm used to encode the original
binary data into a string; must be one of the following:
- hex: characters 0-9 and A-F represent the hexadecimal value
of each byte; for example, 3A.
- UU: data is encoded using the UNIX UUencode algorithm.
- base64: data is encoded using the Base64 algorithm. Values:
  • hex
  • uu
  • base64

Fork me on GitHub