Microsoft SDK for Java

DataStream.writeLongs

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

Syntax

public void writeLongs( long[] buffer )

public void writeLongs( long[] buffer, int index, int count )

Parameters

buffer

An array of primitive types to write.

index

The byte offset into buffer.

count

The number of long integers to write.

Remarks

This method implements the IDataStream.writeLongs method. The first syntax calls the writeLongs 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.