Function group | Execute on client | Platform(s) |
---|---|---|
Binary Field | NO | All |
binfrombase64(vData[,bURLEncoding=kFalse, bExpectPadding=kTrue, bStripWhitespace=kFalse])
Decodes the binary or character vData from BASE64 and returns the resulting binary data. Returns NULL if vData is not valid BASE64.
Pass bURLEncoding as kTrue to decode the URL-safe form of base64.
Pass bExpectPadding as kFalse to not expect any padding in the base64. Typically, this would be passed as kFalse when using URL-safe encoding.
Pass bStripWhitespace as kTrue to strip whitespace from the input data (defaults to kFalse).