Created
June 25, 2020 19:23
-
-
Save elcritch/c1825186974c2eb127d86b639f455722 to your computer and use it in GitHub Desktop.
Byte String Pad
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
0x4A |> Integer.to_string(2) |> String.pad_leading(8, "0") |> String.pad_leading(10,"0x") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment