Loop through each byte from a string
hexadecimal = "\x00\x01\x10\x20" hexadecimal.each_byte { |x| puts x }