Advertisement
Advertisement
| Methods | Description |
|---|---|
| int available() | This method returns the number of bytes that can be read from the input stream. |
| abstract int read() | This method reads the next byte out of the input stream. |
| int read(byte[] b) | This method reads a chunk of bytes from the input stream and store them in its byte array, b. |
| close() | This method closes this output stream and also frees any resources connected with this output stream. |
| Methods | Description |
|---|---|
| flush() | This method flushes the output steam by forcing out buffered bytes to be written out. |
| abstract write(int c) | This method writes byte(contained in an int) to the output stream. |
| write(byte[] b) | This method writes a whole byte array(b) to the output. |
| close() | This method closes this output stream and also frees any resources connected with this output stream. |
Advertisement
Advertisement
Please check our latest addition
C#, PYTHON and DJANGO
Advertisement