add const bitset data getter

This commit is contained in:
Green Sky 2024-12-16 00:07:50 +01:00
parent 717748e8fc
commit 85bbbb0e5a
No known key found for this signature in database

View File

@ -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;
} }