writeInt16 method

void writeInt16(
  1. int value
)

Implementation

void writeInt16(int value) {
  _ensureAvailable(2);
  _byteData.setInt16(_writeIndex, value, endian);
  _writeIndex += 2;
}