On Fri, Apr 3, 2009 at 8:38 AM, Jiri <jiriheitla...@googlemail.com> 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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to