Gets the current text length (avoids toString() allocation)
int getTextLength() => _textBuffer.length;