Method read()
Return type: int
Member of:
java.io.BufferedInputStream
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
while ( ( i = in.read ( ) ) > -1 ) out.write ( i );
2
while ( ( i = in.read ( ) ) > -1 ) out.write ( i );
3
while( (i = bsrc.read()) != -1 ) {
4
while( (buf=read())!=-1 )
5
while((b=bis.read())!=-1)bos.write(b);
6
while ((count = br.read()) != -1) {
7
while( (buf=read())!=-1 )
8
c = input.read();
9
while((c = in.read()) != -1) {
10
while ((piece = fileIn.read()) >= 0)
11
out.write(in.read());
12
while((input = this.fileReader.read()) != -1)
13
int r = in.read();
14
while ((c = bis.read()) != -1) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.