On Fri, Apr 3, 2009 at 8:38 AM, Jiri <[email protected]> wrote: > So each element in a ByteArray can hold 8 bits. > What about the readInt() method of the ByteArray, does an integer then span > over 4 elements of the bytearray. And if I start at position 0 and then call > the readInt(), is the position after that then 4?
Yes, and you can use readUnsignedByte(), too, for example, but if you're trying to use a ByteArray to store bit flags, then we can probably help you find a more elegant way to do what you want. _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

