mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
22 lines
422 B
Java
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();
|
|
}
|
|
}
|