x.ord => ASCII x.chr => 'char' .each_byte => ASCII