Microsoft SDK for Java

Read

This method of the IStream Interface reads bytes from the stream object into a byte array, starting at a specified offset from the current seek pointer.

Syntax

public int Read(byte buf[], int off, int len);

Return Value

Returns the number of bytes actually read.

Parameters

buf The buffer that the bytes are read into.
off The offset in the stream to begin reading from.
len The number of bytes to read.

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