Microsoft SDK for Java

DataStream.writeInts

Writes the contents of the specified integer array to this stream.

Syntax

public void writeInts( int[] buffer )

public void writeInts( int[] buffer, int index, int count )

Parameters

buffer

An array of primitive types to write.

index

The byte offset into buffer.

count

The number of integers to write.

Remarks

This method implements the IDataStream.writeInts method. The first syntax calls the writeInts method to write the data. The second syntax validates the arguments and then calls the writeCore method to write the data.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.