This method of the XMLStreamReader interface reads characters into a portion of an array.
public int read(int[] buf, int len);
The number of characters read, or -1 if the end of the stream has been reached.
buf | The destination buffer. |
len | The maximum number of characters to read. |