Flush Method
Flushes the parser and checks its end state.
Syntax
public void flush();
Remarks
When Flush is called, the parser flushes all its buffers, processes all available events, and then checks its end state. If Validate is true, the parser also verifies that all open segments are completed, returning an error if they are not.
Any extra un-parsed data will be populated in the ExtraData property after this method is called.