allocateIfNeeded method
Implementation
void allocateIfNeeded(int bits) {
if (_written + bits > _buffer.getSize()) {
_buffer.allocate(bits);
}
}
void allocateIfNeeded(int bits) {
if (_written + bits > _buffer.getSize()) {
_buffer.allocate(bits);
}
}