writeUInt16 method

  1. @override
void writeUInt16(
  1. int i
)
override

Implementation

@override
writeUInt16(int i) {
  checkUint16(i);
  _requireBytes(
    2, () => bytes.setUint16((offset += 2) - 2, i, Endian.little),
  );
}