Skip to content

Instantly share code, notes, and snippets.

@digitalex
Created March 27, 2012 10:02
Show Gist options
  • Save digitalex/2214537 to your computer and use it in GitHub Desktop.
Save digitalex/2214537 to your computer and use it in GitHub Desktop.
Parse hex string to long
java.math.BigInteger.new(java.lang.String.new("\x00\x00\x00\x00\x00\x00\x00\x10").getBytes()).longValue()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment