Groovy web console

subscribe to the feed Subscribe
to this
site

Base64 decode

Published 2 years ago by vmj with tags base64 decode
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
final s = 'Zm9v'

final data = s.decodeBase64()

assert data == "foo".bytes