From: Ryan Davis Date: 2010-12-23T08:18:19+09:00 Subject: Re: write byte array to file On Dec 22, 2010, at 14:40 , Aegorov Egorov wrote: > i get error > in `chr': 337 out of char range (RangeError) 337 isn't a valid 8-bit byte. aka 337 > 255. What are you actually trying to do? You have too many 1's for me to guess.