Microsoft SDK for Java

DataStream.writeFloats

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

Syntax

public void writeFloats( float[] buffer )

public void writeFloats( float[] buffer, int index, int count )

Parameters

buffer

An array of primitive types to write.

index

The byte offset into buffer.

count

The number of float values to write.

Remarks

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