An NDoc Documented Class Library

CCODEC Members

CCODEC overview

Public Instance Constructors

CCODEC Constructor Codec constructor, used when creating a codec (encoder / decoder) instance.

Public Instance Methods

AddFieldDef Adds a new field definition to the CODEC. The field definition specifies how a field should be encoded (operator) and the slot to use for the field as well as the field data type.
DecodeEndMsg Completes the decoding of a message. This function must be called after the last tag of a message has been decoded.
DecodeI32 Decode a signed 32 bit integer value.
DecodeNewMsg Starts the decode of the next message. Parses the presence map in start of decode new message.
DecodeString Decode an ASCII string value.
DecodeU32 Decode an unsigned 32 bit integer value.
EncodeEndMsg Finish encoding a message
EncodeI32 Encode a signed 32 bit integer
EncodeNewMsg Called to setup encoding for a message. It must not be called again without calling EncodeEndMsg in between.
EncodeString Encode an ASCII string
EncodeU32 Encode an unsigned 32 bit integer
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

CCODEC Class | FAST Namespace