ruby 十六进制打印

对ruby不熟

str = [0x77d80787,0x77403680,0x77402680]

puts str.pack('V').unpack('H*')

原文地址:https://www.cnblogs.com/moonflow/p/2537137.html