Subj : Byte Arrays in JavaScript To : netscape.public.mozilla.jseng From : Sajid Raza Date : Sat May 22 2004 11:01 pm My application reads and writes large quantities of data. I would like to present my 'users' with an array like data-structure that contains bytes. The present Array object relies on 32-bit jsvals that may not be as space-efficient as ideally possible. I could hack together a class that emulates byte-arrays, but I was wondering whether there's a nice clean way of doing this. Basically, my concern is that how properties are resolved may not allow me to stuff more data into each jsval in the properties vector. Is there a way for me to store 4 bytes in each slot of an object, and still be able to index each element properly? .