putUint8 method

void putUint8(
  1. int byte
)

Write a Uint8 into the buffer.

Implementation

void putUint8(int byte) {
  assert(!_isDone);
  _add(byte);
}