BinaryEncode()
Converts binary data to a string.
BinaryEncode( binary=binary, encoding=string );
Returns: String
Examples
base_64 = ToBase64("I am a string.");
binary_data = ToBinary(base_64);
dump(BinaryEncode(binary_data, "hex")); // 4920616D206120737472696E672E
See also
- Binary data
- BinaryDecode()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)