Code example for ObjectInput

Methods: readFully

   public final void close() throws IOException { 
      throw new UnsupportedOperationException("close() is not supported in an UnclosableObjectInputStream!");
   public final void readFully(byte[] b) throws IOException {
   public final void readFully(byte[] b, int off, int len) throws IOException {
      delegate.readFully(b, off, len);
   public final int skipBytes(int n) throws IOException {
      return delegate.skipBytes(n);
   public final boolean readBoolean() throws IOException { 
      return delegate.readBoolean();
Connect your IDE to all the code out there  Get Codota for Java