writeChars method
Writes the code points in chars[start..end) as literal text. The view
is only valid for the duration of the call — do not retain it.
Implementation
@override
void writeChars(List<int> chars, int start, int end) {
_precedingCodepoint = chars[end - 1];
_buffer.writeCodepoints(chars, start, end);
}