Class FinFilterBase64
Implements the IFinFilter interface for a base 64 encoding/decoding transport filter.
public class FinFilterBase64 : IFinFilter
- Inheritance
-
FinFilterBase64
- Implements
- Inherited Members
Constructors
FinFilterBase64()
public FinFilterBase64()
Properties
FilterFunction
Provides the name of the filter function that this class implements. Thus it always returns "MIM" which is the name defined for the base 64 filter.
public string FilterFunction { get; }
Property Value
FilterFunctionVersion
Provides the specified version of the filter function that this class implements. Thus it always returns 1 which is the only value defined in FinTS.
public int FilterFunctionVersion { get; }
Property Value
Methods
FilteredOutputSize(int)
public int FilteredOutputSize(int nMsgSize)
Parameters
nMsgSizeint
Returns
InputFilter(Stream)
Creates a new instance of a base 64 output stream decoding filter.
public Stream InputFilter(Stream aStream)
Parameters
aStreamStreamSource stream that provides the base 64 encoded data that shall be decoded.
Returns
- Stream
A readable Stream is returned that base 64 decodes all data from the source stream and provides the resulting decoded data through its read functions.
OutputFilter(Stream)
Creates a new instance of a base 64 output stream encoding filter.
public Stream OutputFilter(Stream aStream)
Parameters
aStreamStreamDestination stream to write the base 64 encoded data to.
Returns
- Stream
A writable Stream is returned that base 64 encodes all written data and writes the base 64 encoded data to the given destination stream.