argius note

プログラミング関連

Hex(16進文字列)

0から255までを16進で表示。

(0..255).each do |i|
  printf "%02X(%s) ", i, i.to_s(16)
end