add const bitset data getter
This commit is contained in:
parent
717748e8fc
commit
85bbbb0e5a
@ -68,6 +68,10 @@ struct BitSet {
|
|||||||
return _bytes.data();
|
return _bytes.data();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const uint8_t* data(void) const {
|
||||||
|
return _bytes.data();
|
||||||
|
}
|
||||||
|
|
||||||
size_t size_bits(void) const {
|
size_t size_bits(void) const {
|
||||||
return _bytes.size()*8;
|
return _bytes.size()*8;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user