Writes the contents of the specified short integer array to this stream.
public void writeShorts( short[] buffer )
public void writeShorts( short[] buffer, int index, int count )
buffer
An array of primitive types to write.
index
The byte offset into buffer.
count
The number of short integers to write.
This method implements the IDataStream.writeShorts method. The first syntax calls the writeShorts method to write the data. The second syntax validates the arguments and then calls the writeCore method to write the data.