binaryEncode

Converts binary data to a string.

binaryEncode(binarydata, encoding) → returns String

Argument Reference for the binaryEncode function

binarydata

Required: Yes
A string containing encoded binary data.

encoding

Required: Yes
A string specifying the encoding method to use to represent
the data; one of the following:
- hex: use characters 0-9 and A-F represent the hexadecimal value
of each byte; for example, 3A.
- UU: use the UNIX UUencode algorithm to convert the data.
- base64: use the Base64 algorithm to convert the data. Values:
  • hex
  • uu
  • base64


Fork me on GitHub