Added the parseAll function

You can use this function to parse some data and make sure there is no
unparsed data left.