Class DataInputViewStreamWrapper

    • Constructor Detail

      • DataInputViewStreamWrapper

        public DataInputViewStreamWrapper​(InputStream in)
    • Method Detail

      • skipBytesToRead

        public void skipBytesToRead​(int numBytes)
                             throws IOException
        Description copied from interface: DataInputView
        Skips numBytes bytes of memory. In contrast to the DataInput.skipBytes(int) method, this method always skips the desired number of bytes or throws an EOFException.
        Specified by:
        skipBytesToRead in interface DataInputView
        Parameters:
        numBytes - The number of bytes to skip.
        Throws:
        IOException - Thrown, if any I/O related problem occurred such that the input could not be advanced to the desired position.