On Nov 7, 2005, at 5:57 PM, Daniel Berger wrote:
> [0x31].pack("v")

ruby 1.8.2 (2004-12-25) [powerpc-darwin8.2.0]

irb(main):001:0> [0x31].pack("v")
=> "1\000"

jeremy