Created
March 23, 2015 11:09
-
-
Save systra/0a39c709fc506bcaec1e to your computer and use it in GitHub Desktop.
Reversing binary
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reverse_bin(Bin) -> | |
S = size(Bin)*8, | |
<<X:S/integer-little>> = Bin, | |
<<X:S/integer-big>>. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment