Function group | Execute on client | Platform(s) |
---|---|---|
Binary Field | NO | All |
bintobase64(vData[,bURLEncoding=kFalse,bAddPadding=kTrue])
Encodes vData as BASE64 and returns the result. vData can be either binary or character. If vData is character, Omnis converts it to UTF-8 before encoding it as BASE64.
Pass bURLEncoding as kTrue to use the URL-safe form of base64.
Pass bAddPadding as kFalse to exclude the padding from the base64 (the one or two = characters appended to the end of the encoded data). Typically, this would be passed as kFalse when using URL-safe encoding.