Converts a string to a binary object. Used to convert
binary data that has been encoded into string format
back into binary data.
Lucee Function Reference
binarydecode()
Beispiel
binarydecode(string encoded_binary,string binaryencoding,[boolean precise]):binary
Kategorie
binary
Argumente
Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name | Typ | Required | Default Value | Beschreibung |
---|---|---|---|---|
encoded_binary | string | Yes | A string containing encoded binary data. | |
binaryencoding | string | Yes |
A string specifying the algorithm used to encode the original binary data into a string; must be one of the following: |
|
precise | boolean | No | false |
if set to true the input must follow the rule for that encoding a 100%, the decryptor will not try to interpret inputs that are not a 100% correct. This should be used to avoud false positives.
Eingeführt in version: 5.3.9.41 |