[]
Writes the short value of v (i.e., 16 least significant bits) to the output. Prior to writing, the output should be realigned at the byte level.
<p>Signed or unsigned data can be written. To write a signed value just
pass the <tt>short</tt> value as an argument. To write unsigned data
pass the <tt>int</tt> value as an argument (it will be automatically
casted, and only the 16 least significant bits will be written).</p>
public override void writeShort(int v)
Type | Name | Description |
---|---|---|
int | v | The value to write to the output |