Created
August 29, 2018 15:55
-
-
Save intrip/173a79d29e4267ddc3ea449c1013326a to your computer and use it in GitHub Desktop.
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
data = [] | |
0.upto(2**(8*2)) do |i| | |
char = [i].pack("U*") | |
#puts "%04x" % i + ": " + char | |
data << char | |
end | |
p data, data.length |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment