In particular, i want to preset desired size, fetch a bitmap from external source, and then work with data in classy objecty-oriented manner.
I presume what
- TBits isnt just a straightforward collection of Booleans and
- internal storage is contiguous.
Am i correct with such assumptions?
TBitsis internally bit-structured, so it’s not a straightforward collection of booleans.To get access to the internal data pointer,
class helperscan be used.