Skip to content

Instantly share code, notes, and snippets.

@intrip
Created August 29, 2018 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save intrip/173a79d29e4267ddc3ea449c1013326a to your computer and use it in GitHub Desktop.
Save intrip/173a79d29e4267ddc3ea449c1013326a to your computer and use it in GitHub Desktop.
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