Method read(char[] cbuf, int offset, int length)
Return type: int
Member of: java.io.InputStreamReader
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 try{ reader.read(pingBuf,0,0); } // ping, not actually reading anything
2 bytes_read = source.read(buffer,0,1024);
3 while((numChars = isr.read(charBuf, 0, 4096)) != -1) {
4 in.read(buf, 0, 3);
5 for (int count = 0; (count = in.read(buf, 0, CHAR_BUFFER_SIZE)) > 0;)
6 while ( (rc = fr.read( buf, 0, 4095)) >= 0 )
7 count = reader.read(buf, 0, buf.length);
8 freader.read(data,0,filesize);
9 int readBytes = reader.read( buffer, 0, length );
10 charRead = inputStreamReader.read(cbuf, 0, cbuf.length);
11 int charsRead = reader.read(charBuffer, 0, BUFFER_SIZE);
12 int l_charsRead = l_inStream.read(l_chars, 0, length);
13 _reader.read(_lineBuffer.buffer,0,_lineBuffer.buffer.length);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.