Fast-resizing uint8 buffer
Using this-&gt; to refer to class members
Ditch this. It's unnecessary unless you need to have to refer to inherited members or disambiguate any other variables or parameters.