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