Does BitArraysX.jl or similar exist?

There have been a few posts over the years discussing constructing a BitArray from bits in an existing Vector{<:Unsigned}.

Does a package that does some version of this exist? I’ve cobbled something together for my own use.

I think most things you’d want to do could be handled in a package. For example, your incoming data may have opposite endianness.

One complication (but not a show stopper) that can’t be fixed in a package is the lack of a supporting inner constructor. This was mentioned in an issue in 2016, when making changes was easier.

1 Like

Should still be possible to add a new constructor — adding new features is not breaking. A straightforward PR if someone wants to give it a shot.

1 Like

Yes, I don’t think adding a constructor breaks anything. I just meant you could be slightly more cavalier in 2016 about adding and removing features.

1 Like