Method to get the remainder of the buffered XML. this
          method stops the parser, set its state to End Of File and
          return the input stream with what is left that the parser
          did not use.  The implementation is not good, the parser
          certainly procgressed past what's left in reader->input,
          and there is an allocation problem. Best would be to
           rewrite it differently.

def GetRemainder(self):
        """Method to get the remainder of the buffered XML. this
          method stops the parser, set its state to End Of File and
          return the input stream with what is left that the parser
          did not use.  The implementation is not good, the parser
          certainly procgressed past what's left in reader->input,
          and there is an allocation problem. Best would be to
           rewrite it differently. """
        ret = libxml2mod.xmlTextReaderGetRemainder(self._o)
        if ret is None:raise treeError('xmlTextReaderGetRemainder() failed')
        __tmp = inputBuffer(_obj=ret)
        return __tmp