writeInt8 method

void writeInt8(
  1. int value
)

Writes an 8-bit signed integer.

Implementation

void writeInt8(int value) {
  ensureAvailableLength(1);

  final length = this._length;
  _byteData.setInt8(length, value);
  this._length = length + 1;
}