writeInt16 method

void writeInt16(
  1. int value, [
  2. Endian? endian
])
inherited

Implementation

void writeInt16(int value, [Endian? endian]) {
  _init(2);
  _data.setInt16(_offset, value, endian ?? this.endian);
  _offset += 2;
}