writeByte method
Writes 1 byte. Increments position by 1.
Implementation
@override
int writeByte(int b) {
ensureCapacity(_position + 1);
_ioSyncPosition();
_ioWriteByte(b);
incrementPosition(1);
assert(_position == _ioPosition);
return 1;
}