These functions are exported by the KS module.
Data := Base64Decode(Text)
Decodes a Base64 string and returns a Buffer containing the decoded bytes.
Text := Base64Encode(Value)
Encodes a byte array or Buffer as a Base64 string.
Text := NormalizeEol(Text , Eol)
Converts every line ending in Text to Eol. If Eol is omitted, the current platform's default line ending is used.
Text := Join(Separator, Values*)
Converts each value to a string and joins the results with Separator. Expand an existing collection with Values*.
#Import "Ks" { Base64Decode, Base64Encode, NormalizeEol, Join }
Encoded := Base64Encode(Buffer(4))
Text := Join(", ", "red", "green", "blue")