[bytes->encodebase64] encodes a bytes object as base64 encoded.
bytes('string')->encodebase64
Code
local(body = 'I love purple rhinos')
'ORIG: '+#body
#body = bytes(#body)->encodebase64
'\rEncoded: '+#body
#body = bytes(#body)->decodebase64
'\rDecoded: '+#body
Result
ORIG: I love purple rhinos Encoded: SSBsb3ZlIHB1cnBsZSByaGlub3M= Decoded: I love purple rhinos
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments