• Programming Guide
  • Api Documentation
  • OnixS .NET Core CME Market Data Handler, version 4.2.2
Show / Hide Table of Contents
  • OnixS.CmeMdHandler
    • BestBidOfferTrackingOptions
    • BestBidOfferTrackingParameters
    • BitmapField
    • BookBase<T>
    • BookChangeType
    • BookUpdatedCallbackPolicy
    • ConnectionType
    • ConsolidatedOrderBook
    • ErrorHandler
    • ErrorReason
    • EventIndicator
    • FeedState
    • FeedStateChangedHandler
    • FeedType
    • Handler
    • HandlerStartupStrategy
    • HandlerState
    • ImpliedOrderBook
    • ImpliedOrderBookChangedHandler
    • ImpliedPriceLevel
    • InfoHandler
    • ISecurityDefinition
    • LicenseException
    • LicenseExpiredException
    • LicenseNotFoundException
    • MarketByOrderBook
    • MarketByOrderBookChangedHandler
    • MarketByPriceBookBase<T>
    • MDEntryType
    • MDUpdateAction
    • MessageProcessingHandler
    • MsgType
    • NoDataOnFeedReceivedHandler
    • Order
    • OrderBookHandler<T>
    • OrderBookType
    • OrderBookUpdatedHandler<T>
    • OrderBookUtils
    • OrderIdsReceivedHandler
    • Packet
    • PacketProcessingHandler
    • RegularOrderBook
    • RegularOrderBookChangedHandler
    • RegularPriceLevel
    • ReplayErrorHandler
    • ReplayFinishedHandler
    • ReplayOptions
    • RequestForQuoteReceivedHandler
    • SecurityDefinitionHandler
    • SecurityStatus
    • SecurityStatusChangedHandler
    • SecurityTradingEvent
    • SecurityUpdateAction
    • Side
    • StateChangedHandler
    • StatisticsHandler
    • StatisticsResetHandler
    • StatisticsType
    • Tags
    • Timestamp
    • TimestampHelper
    • TopOfTheOrderBookUpdatedHandler<T>
    • TradeHandler
    • TradeUpdateAction
    • WarningHandler
    • WarningReason
  • OnixS.SimpleBinaryEncoding
    • BaseComposite
    • BaseGroup
    • BaseMessage<THeader>
    • BufferOverflowException
    • CmeILinkHeader
    • CmeMdp3Header
    • ConstantFieldException
    • Decimal32Ref
    • Decimal64Ref
    • DecimalHelper
    • EncodingType
    • FieldIsRequiredException
    • FieldNotFoundException
    • Helper
    • IComposite
    • IDecimal
    • IDecoder
    • IEncoder
    • IFieldSet
    • IGroup
    • IHeader
    • IMaturityMonthYear
    • IMessage
    • InvalidFieldValueTypeException
    • ITimestamp
    • IVariableLengthField
    • LicenseException
    • LicenseExpiredException
    • LicenseNotFoundException
    • MaturityMonthYearRef
    • MemoryPointer<T>
    • ResizableMessage
    • SbeHeader
    • SimpleOpenFramingHeader
    • TimestampRef
    • TimeUnit
    • VariableLengthField16Ref
    • VariableLengthField8Ref
  • OnixS.SimpleBinaryEncoding.CodeGenerator
    • MessageSchemaByteOrderAttribute
    • MessageSchemaDescriptionAttribute
    • MessageSchemaIdAttribute
    • MessageSchemaPackageAttribute
    • MessageSchemaSemanticVersionAttribute
    • MessageSchemaVersionAttribute
    • StrongTypedCodeGenerator
  • OnixS.SimpleBinaryEncoding.Templates
    • ByteOrder
    • CompositeTypeInfo
    • EnumTypeInfo
    • EnumValue
    • FieldInfo
    • FieldSetFieldInfo
    • GroupFieldInfo
    • MessageInfo
    • Presence
    • PrimitiveFieldInfo
    • PrimitiveType
    • PrimitiveTypeInfo
    • TemplateLibrary
    • TypeInfo
    • VariableLengthFieldInfo

Class VariableLengthField8Ref

Represents MaturityMonthYear field.

Inheritance
System.Object
BaseComposite
VariableLengthField8Ref
Implements
IVariableLengthField
IComposite
IComparable<IVariableLengthField>
IEquatable<VariableLengthField8Ref>
Inherited Members
BaseComposite.Buffer
BaseComposite.Wrap(MemoryPointer<Byte>)
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class VariableLengthField8Ref : BaseComposite, IVariableLengthField, IComposite, IComparable<IVariableLengthField>, IEquatable<VariableLengthField8Ref>

Constructors

VariableLengthField8Ref()

Constructor.

Declaration
public VariableLengthField8Ref()

VariableLengthField8Ref(Encoding)

Constructor.

Text encoding.
Declaration
public VariableLengthField8Ref(Encoding encoding)
Parameters
Type Name Description
Encoding encoding

VariableLengthField8Ref(Encoding, ResizableMessage, MemoryPointer<Byte>)

Constructor.

Declaration
public VariableLengthField8Ref(Encoding encoding, ResizableMessage parentMessage, MemoryPointer<byte> buffer)
Parameters
Type Name Description
Encoding encoding

Text encoding.

ResizableMessage parentMessage

Message which owns this field.

MemoryPointer<System.Byte> buffer

The buffer, which contains field value.

VariableLengthField8Ref(ResizableMessage, MemoryPointer<Byte>)

Constructor.

Declaration
public VariableLengthField8Ref(ResizableMessage parentMessage, MemoryPointer<byte> buffer)
Parameters
Type Name Description
ResizableMessage parentMessage

Message which owns this field.

MemoryPointer<System.Byte> buffer

The buffer, which contains field value.

Properties

HasValue

True, if field has not null value, false otherwise.

Declaration
public override bool HasValue { get; }
Property Value
Type Description
System.Boolean
Overrides
BaseComposite.HasValue

Item[String]

Returns value of composite type field.

Declaration
public override object this[string name] { get; set; }
Parameters
Type Name Description
System.String name

Field name

Property Value
Type Description
System.Object

Value of composite type field

Overrides
BaseComposite.Item[String]

Length

Declaration
public ushort Length { get; }
Property Value
Type Description
System.UInt16

LengthFieldSize

Size of Length field.

Declaration
public int LengthFieldSize { get; }
Property Value
Type Description
System.Int32

RawValue

Declaration
public ReadOnlySpan<byte> RawValue { get; set; }
Property Value
Type Description
ReadOnlySpan<System.Byte>

StringValue

Declaration
public string StringValue { get; set; }
Property Value
Type Description
System.String

Methods

CompareTo(IVariableLengthField)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Declaration
public int CompareTo(IVariableLengthField other)
Parameters
Type Name Description
IVariableLengthField other

An object to compare with this instance.

Returns
Type Description
System.Int32

A value that indicates the relative order of the objects being compared. The return value has these meanings:

  • Less than zero - this instance precedes obj in the sort order.
  • Zero - this instance occurs in the same position in the sort order as obj.
  • Greater than zero - this instance follows obj in the sort order..

Equals(VariableLengthField8Ref)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(VariableLengthField8Ref other)
Parameters
Type Name Description
VariableLengthField8Ref other

An object to compare with this object.

Returns
Type Description
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

Equals(Object)

Indicates whether the current object is equal to another object of the same type.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

An object to compare with this object.

Returns
Type Description
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for the current object.

Reset()

Declaration
public override void Reset()
Overrides
BaseComposite.Reset()

ToString()

Returns the string representation of an object.

Declaration
public override string ToString()
Returns
Type Description
System.String

The string representation of an object.

Wrap(ResizableMessage, MemoryPointer<Byte>, Boolean)

Wraps current object around the buffer.

Declaration
public void Wrap(ResizableMessage parentMessage, MemoryPointer<byte> buffer, bool encode = false)
Parameters
Type Name Description
ResizableMessage parentMessage

Parent message.

MemoryPointer<System.Byte> buffer

The buffer, which contains field value.

System.Boolean encode

If true, will set header fields and reset optional fields.

Operators

Equality(VariableLengthField8Ref, VariableLengthField8Ref)

Declaration
public static bool operator ==(VariableLengthField8Ref left, VariableLengthField8Ref right)
Parameters
Type Name Description
VariableLengthField8Ref left
VariableLengthField8Ref right
Returns
Type Description
System.Boolean

GreaterThan(VariableLengthField8Ref, VariableLengthField8Ref)

Declaration
public static bool operator>(VariableLengthField8Ref left, VariableLengthField8Ref right)
Parameters
Type Name Description
VariableLengthField8Ref left
VariableLengthField8Ref right
Returns
Type Description
System.Boolean

GreaterThanOrEqual(VariableLengthField8Ref, VariableLengthField8Ref)

Declaration
public static bool operator >=(VariableLengthField8Ref left, VariableLengthField8Ref right)
Parameters
Type Name Description
VariableLengthField8Ref left
VariableLengthField8Ref right
Returns
Type Description
System.Boolean

Inequality(VariableLengthField8Ref, VariableLengthField8Ref)

Declaration
public static bool operator !=(VariableLengthField8Ref left, VariableLengthField8Ref right)
Parameters
Type Name Description
VariableLengthField8Ref left
VariableLengthField8Ref right
Returns
Type Description
System.Boolean

LessThan(VariableLengthField8Ref, VariableLengthField8Ref)

Declaration
public static bool operator <(VariableLengthField8Ref left, VariableLengthField8Ref right)
Parameters
Type Name Description
VariableLengthField8Ref left
VariableLengthField8Ref right
Returns
Type Description
System.Boolean

LessThanOrEqual(VariableLengthField8Ref, VariableLengthField8Ref)

Declaration
public static bool operator <=(VariableLengthField8Ref left, VariableLengthField8Ref right)
Parameters
Type Name Description
VariableLengthField8Ref left
VariableLengthField8Ref right
Returns
Type Description
System.Boolean

Implements

IVariableLengthField
IComposite
IComparable<>
IEquatable<>
In This Article
Back to top Copyright © Onix Solutions.
Generated by DocFX