Category: Collections-Sequenceable
Superclass: LargeArrayedCollection
I am similar to a plain ByteArray, but I'm specially designed to save memory when lots of items are zero.

Method category index

overridden (instance)

overridden (instance)

costOfNewIndex
Answer the maximum number of consecutive items set to the defaultElement that can be present in a compressed array.

defaultElement

Answer the value which is hoped to be the most common in the array

newCollection: size

Create a ByteArray of the given size

top