From: Greg Chambers Date: 2009-07-01T00:11:58+09:00 Subject: Re: Question on networking with custom binary interface. Joel VanderWerf wrote: > Greg Chambers wrote: >> Any advice for doing this type of binary IO? > > Array#pack, String#unpack are your friends. I am looking at the documentation of these methods and this covers a LOT of what I need to do, but I am worried in a couple areas. For example, part of the binary string I will be getting will contain an eight byte unsigned long long. How should I approach custom byte structures like this? -- Posted via http://www.ruby-forum.com/.