Class SpecialFixUtil
Inheritance
System.Object
SpecialFixUtil
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.Message.Message.SpecialTags
Assembly: FixAntenna.Message.dll
Syntax
public static class SpecialFixUtil
Methods
GetMaskedString(Byte[], Int32, Int32, RawFixUtil.IRawTags, IMaskedTags)
Parses provided byte array and returns string representation masking configured tags.
Declaration
public static string GetMaskedString(byte[] buffer, int offset, int length, RawFixUtil.IRawTags rawTags, IMaskedTags maskedTags)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | buffer | |
System.Int32 | offset | |
System.Int32 | length | |
RawFixUtil.IRawTags | rawTags | |
IMaskedTags | maskedTags |
Returns
Type | Description |
---|---|
System.String |
MaskFields(Span<Byte>, RawFixUtil.IRawTags, IMaskedTags)
This method masks fields defined in configuration file. By default fields 554, 925 are masked. Values for such fields will be filled by asterisks in provided byte array.
Declaration
public static void MaskFields(Span<byte> buffer, RawFixUtil.IRawTags rawTags, IMaskedTags maskedTags)
Parameters
Type | Name | Description |
---|---|---|
System.Span<System.Byte> | buffer | System.Span<T> - message to mask fields. |
RawFixUtil.IRawTags | rawTags | RawFixUtil.IRawTags defined raw tags. |
IMaskedTags | maskedTags | IMaskedTags defined tags to mask. |