# BitArray?

**URL:** <https://forum.kirupa.com/t/bitarray/309609>\
**Category:** flash\
**Created:** [May 19, 2010, 6:02pm UTC](https://forum.kirupa.com/t/bitarray/309609 "2010-05-19T18:02:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IQAndreas](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Post date:** [May 19, 2010, 6:02pm UTC](https://forum.kirupa.com/t/bitarray/309609/1 "2010-05-19T18:02:17Z")

</div>

I was messing with the ByteArray, and it seems that functions like “writeBoolean” take up the full 8 bits instead of a single bit. Why so?

I’m looking to “super optimize” some space (for fun, but I’m sure it has practical uses) so it does make a difference.
