Method read(char[] cbuf, int off, int len)
Return type: int
Member of:
java.io.Reader
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
eof = (in.read(thisChar, 0, 1) == -1);
2
while ((len = r.read(buf, 0, 1024)) > 0) {
3
eof = (in.read(thisChar, 0, 1) == -1);
4
while ((count = in.read(buffer, 0, 1024)) > 0) {
5
len = stream.read(cbuf, 0, 16384);
6
cnt1 = source.read(buffer,0,1024);
7
while ((count = reader.read(buffer, 0, buffer.length)) > 0) {
8
x.read(theData, 0, length);
9
if( reader.read( fileBuffer, 0, length ) == -1 )
10
int size = input.read( buffer, 0, blockReadSize );
11
while ((nch = in.read(buff, 0, buff.length)) != -1) {
12
while((c=in.read(mychars,count,free))>=0){
13
input.read(buffer, newPosition, buffer.length-newPosition);
14
int count = fCurrentEntity.reader.read(fCurrentEntity.ch, offset,
15
count = reader.read (readBuffer,
16
while ((r = in.read(buffer, read, buffer.length - read)) > -1) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.