EndSegment Method
Ends writing the current segment.
Object Oriented Interface
public function doEndSegment();
Procedural Interface
inedi_ediwriter_do_endsegment($res);
Remarks
EndSegment terminates writing the current segment and flushes it to the output stream/file.
You should call EndSegment to close a segment started with StartSegment, StartInterchangeHeader, StartFunctionalGroupHeader or StartTransactionHeader.