Skip to content

llStringToBase64

string llStringToBase64(string Text)

Returns the string Base64 representation of the input string.

Parameters
Text (string)
  • If extra bits are needed to complete the last base64 symbol, those extra bits will be zero
  • To convert in the other direction, use llBase64ToString
integer getStringBytes(string msg) {
return (llStringLength((string)llParseString2List(llStringToBase64(msg), ["="], [])) * 3) >> 2;
}