Mega Code Archive
Categories
/
Ruby
/
String
Loop through each byte from a string
hexadecimal = "\x00\x01\x10\x20" hexadecimal.each_byte { |x| puts x }