From: James Edward Gray II Date: 2007-06-29T21:55:23+09:00 Subject: Re: java ByteArrayOutputStream alternative in ruby. On Jun 29, 2007, at 6:25 AM, Googy wrote: > I am porting a library from java to ruby. My problem is simulating > ByteArrayOutputStream in ruby. I want to pack bytes integers and all > other kinds of data in to a stream buffer then get it as a packed > string and send it over network. Look-up Array#pack in your favorite documentation source. James Edward Gray II