Code example for ObjectInput

Methods: read

0
    public ObjectInputStreamAdapter(ObjectInput input) {
        this.input = input;
    } 
 
    public int read() throws IOException { 
        return input.read();
    } 
 
    @Override 
    public int read(byte[] b) throws IOException {
        return input.read(b);
    } 
 
    @Override 
    public int read(byte[] b, int off, int len) throws IOException {
        return input.read(b, off, len);
    } 
 
    @Override 
    public long skip(long n) throws IOException {
        return input.skip(n);