endSegment (method)
Ends writing the current segment.
Syntax
- (void)endSegment;
public func endSegment() throws -> Void
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.