CompactBitArray is an implementation of a space efficient bit array. This is used to ensure that the encoded data takes up a minimal amount of space after proto encoding. This is not thread safe, and is not intended for concurrent usage.

interface CompactBitArray {
    elems: Uint8Array;
    extraBitsStored: number;
}

Properties

elems: Uint8Array
extraBitsStored: number