Writes a 2 byte signed short using the current endian format.
void writeShort(int v) { final d = ByteData(2)..setInt16(0, v, endian); _dest.add(d.buffer.asUint8List(d.offsetInBytes, 2)); }