Lasso Soft Inc. > Home

[ bytes->encodebase64 ]


[bytes->encodebase64] encodes a bytes object as base64 encoded.

  • Syntax
  • Beginner

To encode and decode a string as Base64


local(body = 'I love purple rhinos')
'ORIG: '+#body

#body = bytes(#body)->encodebase64
'\rEncoded: '+#body

#body = bytes(#body)->decodebase64
'\rDecoded: '+#body


ORIG: I love purple rhinos
Encoded: SSBsb3ZlIHB1cnBsZSByaGlub3M=
Decoded: I love purple rhinos

Recent Comments

No Comments found

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. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft