From: steven.shingler@... Date: 2006-02-07T20:13:21+09:00 Subject: ruby-nuby bytes question Hi all, I'd like to convert an int to a byte array in Ruby. In C# you can do this: byte[] b = BitConverter.GetBytes(BufferLength); Any tips for the ruby equivalent gratefully received :) Thanks Steven