writeByte method Null safety
- int value
override
Write a byte to the end of the buffer.
Implementation
@override
void writeByte(int value) {
_buffer[_bufferPosition++] = value;
if (_bufferPosition == _buffer.length) {
flush();
}
_length++;
}