mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
more classpath progress
This commit is contained in:
21
classpath/java/io/ObjectInputStream.java
Normal file
21
classpath/java/io/ObjectInputStream.java
Normal file
@ -0,0 +1,21 @@
|
||||
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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user