Public class BufferedInputStream extends FilterInputStream
Constructor | Description |
---|---|
BufferedInputStream (InputStream in) | The function of this constructor is to create the buffered input stream and reads into the internal buffer. |
BufferedInputStream (InputStream in, int n) | The function of this constructor is to create the buffered input stream with represented size of buffer. |
Method | Description |
---|---|
void close () | The function of this method is to close the present stream and associated to input stream systems resources are released. |
Long skip (long m) | The function of this method is to skip the text or characters in this stream of ' m ' bytes. |
Boolean markSupported () | The function of this method is to check the represented mark method is supported by this stream or not |
int read(byte[] b, int off, int n) | By using this method it reads the data up to 'n' bytes from the input stream into an array of bytes. |