Groovy web console

subscribe to the feed Subscribe
to this
site

Encode bytes to hex string

Published 2 years ago by Andy Duncan with tags string encoding
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
def bytes = [1, 2, 3] as byte[]
bytes.encodeHex()