writeByte method

void writeByte(
  1. int value
)

Write a byte to the end of the buffer.

Implementation

void writeByte(int value) {
  if (length == _buffer.length) {
    _expandBuffer();
  }
  _buffer[length++] = value & 0xff;
}