Enum SwiftReaderState
Enumerates the externally visible states of the SwiftReader class.
public enum SwiftReaderState
Fields
EndOfStream = 3The most recent call to ReadField() encountered the end of the input stream and returned
nullto the caller. In this state no further calls to ReadField() are permitted.EndOfText = 2The most recent call to ReadField() returned an End-Of-Text marker field.
Error = 4The 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 = 1The most recent call to ReadField() returned a true SWIFT field.
Start = 0Initial state of the SwiftReader.
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.