Microsoft SDK for Java

read

This method of the XMLStreamReader interface reads characters into a portion of an array.

Syntax

public int read(int[] buf, int len);

Return Value

The number of characters read, or -1 if the end of the stream has been reached.

Parameters

buf The destination buffer.
len The maximum number of characters to read.

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