corda/classpath/java/io/ObjectOutputStream.java

27 lines
502 B
Java
Raw Normal View History

2007-07-29 01:29:01 +00:00
package java.io;
public class ObjectOutputStream extends OutputStream {
private final OutputStream out;
public ObjectOutputStream(OutputStream out) {
this.out = out;
}
public void write(int c) throws IOException {
out.write(c);
}
public void write(byte[] b, int offset, int length) throws IOException {
out.write(b, offset, length);
}
public void flush() throws IOException {
out.flush();
}
public void close() throws IOException {
out.close();
}
}