Closes this stream. This releases system resources used for this stream. @throws IOException if an error occurs while attempting to close this stream.
()
| 75 | * if an error occurs while attempting to close this stream. |
| 76 | */ |
| 77 | @Override |
| 78 | public void close() throws IOException { |
| 79 | /** |
| 80 | * Although the spec claims "A closed stream cannot perform output |
| 81 | * operations and cannot be reopened.", this implementation must do |
| 82 | * nothing. |
| 83 | */ |
| 84 | super.close(); |
| 85 | } |
| 86 | |
| 87 | private void expand(int i) { |
| 88 | /* Can the buffer handle @i more bytes, if not expand it */ |