22.10
java.io.BufferedInputStream
THE PACKAGE JAVA.IO
22.10.3
protected int pos = 0;
This value is always in the range
0
 through
count
. If it is less than
count
, then
buf[pos]
 is the next byte to be supplied as input; if it is equal to
count
, then the
next
read
 or
skip
 operation will require more bytes to be read from the contained
input stream.
22.10.4
protected int markpos =  1;
This value is always in the range
 1
 through
pos
. If there is no marked position in
the input stream, this field is
 1
. If there is a marked position in the input stream,
then
buf[markpos]
 is the first byte to be supplied as input after a
reset
 opera 
tion. If
markpos
 is not
 1
, then all bytes from positions
buf[markpos]
 through
buf[pos 1]
 must remain in the buffer array (though they may be moved to
another place in the buffer array, with suitable adjustments to the values of
count
,
pos
, and
markpos
); they may not be discarded unless and until the difference
between
pos
 and
markpos
 exceeds
marklimit
.
22.10.5
protected int marklimit;
Whenever the difference between
pos
 and
markpos
 exceeds
marklimit
, then the
mark may be dropped by setting
markpos
 to
 1
.
22.10.6
public BufferedInputStream(InputStream in)
This constructor initializes a newly created
BufferedInputStream
 by saving its
argument, the input stream
in
, for later use. An internal buffer array is created and
stored in
buf
.
22.10.7
public BufferedInputStream(InputStream in, int size)
This constructor initializes a newly created
BufferedInputStream
 by saving its
argument, the input stream
in
, for later use. An internal buffer array of length
size
 is created and stored in
buf
.
22.10.8
public int read() throws IOException
See the general contract of the
read
 method of
InputStream
 ( 22.3.1).
Overrides the
read
 method of
FilterInputStream
 ( 22.9.3).
700






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved