BitArray Slicing

Ezneh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 21 03:43:11 PST 2016


On Wednesday, 21 December 2016 at 09:14:04 UTC, Eugene Wissner 
wrote:

>
> The problem is BitArray keeps multiple elements in one byte. 
> You can't return just three bits but in the best case one byte 
> with 8 elements.
>
> What could be done some internal range could be returned that 
> gives access to the bits. But it isn't implemented.

I see, so I have to find another way to get only the range I want 
from a BitArray.


More information about the Digitalmars-d-learn mailing list