9.3.6 GetData

const unsigned char *GetData() const

The GetData method returns a pointer to the internal storage of the OEBitVector's bitmap. This pointer to a sequence of at least (OEBitVector::GetSize()+7)/8 consecutive bytes. Bit index zero corresponds to the least significant bit of the first byte. All bits beyond OEVector::GetSize() in the last byte are guaranteed to be zero. The GetData method always returns a valid non-NULL pointer even if the number of bits is zero.