Flush Method
Flushes the parser and checks its end state.
Object Oriented Interface
public function doFlush();
Procedural Interface
inerp_idocreader_do_flush($res);
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.