Output Event
Fires whenever a segment is complete.
Syntax
x12writer.on('Output', listener: (e: {readonly outputData: string, readonly outputDataB: Uint8Array}) => void )
Remarks
The Output event will fire when the writer completes a new segment and writes data to the output stream or buffer. The Data parameter contains the data bytes.