Method read(byte[] b, int off, int len)
Return type: int
Member of:
java.io.InputStream
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
while( (len = is.read(b,0,512)) > -1 )
2
while ((len = in.read(buf, 0, 4096)) > 0) {
3
if (in.read(temp, 0, 2) < 2) {
4
if (in.read(temp, 0, 2) < 2) {
5
int count = stream.read(b4, 0, 4);
6
while ( ( len = stream.read( buf, 0, 1024 ) ) != -1 )
7
int size = is.read( buff, 0, 4096 );
8
while( (readlen=in.read(buf, 3, 2045))>0 )
9
while ( (readi=is.read(buf,0,256)) >= 0x0 ) {
10
count = stream.read(b, 0, 3);
11
if( is.read(fileHdr, 0, 8) != 8 ) {
12
input.read(buf, 0, 7);
13
while ( (len = inp.read(buf,0,4096)) != -1 )
14
count = inputStream.read( buffer, 0, Math.min( maxBytes, buffer.length ) );
15
this.in.read(b,0,length);
16
while ((count = in.read(buffer, 0, len)) > 0) {
17
is.read(buf, 0, bufsize);
18
x.read(theData, 0, length);
19
fin.read(databytes,0,databytes.length);
20
while ((bytesRead = stream.read(buffer, 0, BUFFER_SIZE)) != -1) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.