writeShort method
- int value
 
Implementation
void writeShort(int value) {
  _ensureCapacity(2);
  _byteBuffer.buffer.asByteData().setInt16(_position, value, Endian.big);
  _position += 2;
  dirty();
}
void writeShort(int value) {
  _ensureCapacity(2);
  _byteBuffer.buffer.asByteData().setInt16(_position, value, Endian.big);
  _position += 2;
  dirty();
}