corda/classpath/java/io/ObjectInputStream.java
2007-07-28 19:29:01 -06:00

22 lines
422 B
Java

package java.io;
public class ObjectInputStream extends InputStream {
private final InputStream in;
public ObjectInputStream(InputStream in) {
this.in = in;
}
public int read() throws IOException {
return in.read();
}
public int read(byte[] b, int offset, int length) throws IOException {
return in.read(b, offset, length);
}
public void close() throws IOException {
in.close();
}
}