Enum SwiftReaderState

Namespace
Subsembly.Swift
Assembly
Subsembly.Sepa.dll

Enumerates the externally visible states of the SwiftReader class.

public enum SwiftReaderState

Fields

EndOfStream = 3

The most recent call to ReadField() encountered the end of the input stream and returned null to the caller. In this state no further calls to ReadField() are permitted.

EndOfText = 2

The most recent call to ReadField() returned an End-Of-Text marker field.

Error = 4

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 = 1

The most recent call to ReadField() returned a true SWIFT field.

Start = 0

Initial 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.