export bmp_ in bitmap

This commit is contained in:
shuxin   zheng 2020-05-19 18:20:48 +08:00
parent 53d97b221c
commit ba26b15032

View File

@ -86,6 +86,15 @@ public:
*/
bool full(void) const;
public:
const unsigned char* get_bmp(void) const {
return bmp_;
}
unsigned char* get_bmp(void) {
return bmp_;
}
private:
unsigned char *bmp_;
size_t size_;