Skip to content

Instantly share code, notes, and snippets.

@tzumby
Last active July 11, 2018 15:42
Show Gist options
  • Save tzumby/8dc20bd1c1be8cd79b652e431512fbf1 to your computer and use it in GitHub Desktop.
Save tzumby/8dc20bd1c1be8cd79b652e431512fbf1 to your computer and use it in GitHub Desktop.
"0x15d3be8fee89e4"
|> String.slice(2..-1)
|> Base.decode16!(case: :lower)
|> :binary.decode_unsigned
# 6143789922945508
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment