Lasso Soft Inc. > Home

[ bytes->decodebase64 ]


[bytes->decodebase64] decodes a bytes object encoded as base64 and returns a string.

  • Syntax
  • Beginner

To encode and decode a string using base64 encoding


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