Enum SwiftReaderState
Enumerates the externally visible states of the SwiftReader class.
Namespace: Subsembly.Swift
Assembly: Subsembly.Sepa.dll
Syntax
public enum SwiftReaderState
Remarks
Any new instance of the SwiftReader starts in the Start state. The state changes after each call to ReadField() until it finally reaches either the EndOfStream or Error state.
Fields
Name | Description |
---|---|
EndOfStream | The most recent call to ReadField() encountered the end of
the input stream and returned |
EndOfText | The most recent call to ReadField() returned an End-Of-Text marker field. |
Error | The most recent call to ReadField() encountered malformed SWIFT data in the input stream and an exception was thrown. In this state no further calls to ReadField() are permitted. |
Field | The most recent call to ReadField() returned a true SWIFT field. |
Start | Initial state of the SwiftReader. |