[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Question about "array.to_s" function

Jose Luis Cortes Escolano

7/5/2007 4:47:00 AM

I am having an issue with the "array.to_s" function. I am reading in a
binary buffer into a array and when I use to_s I get the string version of
the buffer. However, when I copy a range of bytes into a new array and
use the to_s, I get a series of numbers. Is this a bug with Ruby or do I
need to use a different method?

Thanks