MCPcopy Create free account
hub / github.com/ReadyTalk/avian / OutputStream

Class OutputStream

classpath/java/io/OutputStream.java:13–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11package java.io;
12
13public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected