• Programming Guide
  • Api Documentation
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
    • Decimal32Ref
    • Decimal64Ref
    • DecimalHelper
    • DecoderHelper
    • FieldNotFoundException
    • Helper
    • IComposite
    • IDecimal
    • IDecoder
    • IFieldSet
    • IGroup
    • IMaturityMonthYear
    • IMessage
    • InvalidFieldValueType
    • LicenseException
    • LicenseExpiredException
    • LicenseNotFoundException
    • MaturityMonthYearRef
    • ReadOnlyDictionary<TKey, TValue>
  • 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

Class Helper

Class to manipulate decoded strings.

Inheritance
System.Object
Helper
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: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public static class Helper

Methods

CopyBackward(Byte*, Byte*, Int32)

Copy bytes in backward direction.

Declaration
public static void CopyBackward(byte *source, byte *destination, int length)
Parameters
Type Name Description
System.Byte* source

Source buffer.

System.Byte* destination
System.Int32 length

Destination buffer length.

CopyForward(Byte*, Byte*, Int32)

Copy bytes in forward direction.

Declaration
public static void CopyForward(byte *source, byte *destination, int length)
Parameters
Type Name Description
System.Byte* source

Source buffer.

System.Byte* destination
System.Int32 length

Destination buffer length.

CopyString(String, Byte*, Int32, Int32)

Copy string value from string to buffer.

Declaration
public static void CopyString(string source, byte *buffer, int offset, int length)
Parameters
Type Name Description
System.String source

Source string.

System.Byte* buffer

Destination buffer.

System.Int32 offset

Offset in destination buffer.

System.Int32 length

Destination buffer length.

GetRealLength(Byte*, Int32, Int32)

Gets length of null-terminated string.

Declaration
public static int GetRealLength(byte *buffer, int offset, int length)
Parameters
Type Name Description
System.Byte* buffer

Pointer to buffer.

System.Int32 offset

String field offset.

System.Int32 length

String field length.

Returns
Type Description
System.Int32

Length of null-terminated string.

Back to top Generated by DocFX