Bit arrays represent a sequence of 1s and 0s, and are a convenient syntax for constructing and manipulating binary data.

Each segment of a bit array can be given options to specify the representation used for that segment.

Bit arrays have limited support when compiling to JavaScript, not all options can be used. Full bit array support will be implemented in future.