| 11 | package java.io; |
| 12 | |
| 13 | public abstract class OutputStream implements Closeable, Flushable { |
| 14 | public abstract void write(int c) throws IOException; |
| 15 | |
| 16 | public void write(byte[] buffer) throws IOException { |
| 17 | write(buffer, 0, buffer.length); |
| 18 | } |
| 19 | |
| 20 | public void write(byte[] buffer, int offset, int length) throws IOException { |
| 21 | for (int i = 0; i < length; ++i) { |
| 22 | write(buffer[offset + i]); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | public void flush() throws IOException { } |
| 27 | |
| 28 | public void close() throws IOException { } |
| 29 | } |
nothing calls this directly
no outgoing calls
no test coverage detected