Introduction
Declaration Public class StringBufferInputStream extends InputStream
Fields
Table | Constructor | Description |
|---|---|
| StringBufferInputStream(String s) | The function of this constructor is to create the StringBufferInputStream instance and reads from the represented string. |
Table | Method | Description |
|---|---|
| void reset () | The function of this method is to reset the current stream to read data from starting. |
| Long skip (long m) | The function of this method is to skip the text or characters in this stream of ' m ' bytes. |
| int read() | The function of this method is to read one byte of data from this stream. |
| 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. |
Description
Example
Key Points