Click or drag to resize
MessagePackObject Structure
Represents deserialized object of MsgPack.

Namespace: MsgPack
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
[SerializableAttribute]
public struct MessagePackObject : IEquatable<MessagePackObject>, 
	IPackable

The MessagePackObject type exposes the following members.

Constructors
  NameDescription
Public methodMessagePackObject(Boolean)
Initializes a new instance of the MessagePackObject type which wraps Boolean instance.
Public methodMessagePackObject(Byte)
Initializes a new instance of the MessagePackObject type which wraps Byte instance.
Public methodMessagePackObject(Byte)
Initializes a new instance of the Byte[] type which wraps Byte[] instance with specified manner.
Public methodMessagePackObject(Double)
Initializes a new instance of the MessagePackObject type which wraps Double instance.
Public methodMessagePackObject(Int16)
Initializes a new instance of the MessagePackObject type which wraps Int16 instance.
Public methodMessagePackObject(Int32)
Initializes a new instance of the MessagePackObject type which wraps Int32 instance.
Public methodMessagePackObject(Int64)
Initializes a new instance of the MessagePackObject type which wraps Int64 instance.
Public methodMessagePackObject(SByte)
Initializes a new instance of the MessagePackObject type which wraps SByte instance.
Public methodMessagePackObject(Single)
Initializes a new instance of the MessagePackObject type which wraps Single instance.
Public methodMessagePackObject(String)
Initializes a new instance of the MessagePackObject type which wraps String instance.
Public methodMessagePackObject(UInt16)
Initializes a new instance of the MessagePackObject type which wraps UInt16 instance.
Public methodMessagePackObject(UInt32)
Initializes a new instance of the MessagePackObject type which wraps UInt32 instance.
Public methodMessagePackObject(UInt64)
Initializes a new instance of the MessagePackObject type which wraps UInt64 instance.
Public methodMessagePackObject(MessagePackExtendedTypeObject)
Initializes a new instance of the MessagePackObject type which wraps MessagePackExtendedTypeObject instance.
Public methodMessagePackObject(IListMessagePackObject)
Public methodMessagePackObject(MessagePackObjectDictionary)
Initializes a new instance wraps MessagePackObjectDictionary.
Public methodMessagePackObject(Byte, Boolean)
Initializes a new instance of the Byte[] type which wraps Byte[] instance with specified manner.
Public methodMessagePackObject(IListMessagePackObject, Boolean)
Public methodMessagePackObject(MessagePackObjectDictionary, Boolean)
Initializes a new instance wraps MessagePackObjectDictionary.
Top
Properties
  NameDescription
Public propertyIsArray
Get the value indicates whether this instance wraps list (array) or not.
Public propertyIsDictionary
Get the value indicates whether this instance wraps dictionary (map) or not.
Public propertyIsList
Get the value indicates whether this instance wraps list (array) or not.
Public propertyIsMap
Get the value indicates whether this instance wraps dictionary (map) or not.
Public propertyIsNil
Get whether this instance represents nil.
Public propertyIsRaw
Get the value indicates whether this instance wraps raw binary (or string) or not.
Public propertyUnderlyingType
Get underlying type of this instance.
Top
Methods
  NameDescription
Public methodAsBinary
Convert this instance to Byte[] instance.
Public methodAsBoolean
Convert this instance to Boolean instance.
Public methodAsByte
Convert this instance to Byte instance.
Public methodAsCharArray
Get underlying value as UTF-16 charcter array.
Public methodAsDictionary
Get underlying value as MessagePackObjectDictionary.
Public methodAsDouble
Convert this instance to Double instance.
Public methodAsEnumerable
Public methodAsInt16
Convert this instance to Int16 instance.
Public methodAsInt32
Convert this instance to Int32 instance.
Public methodAsInt64
Convert this instance to Int64 instance.
Public methodAsList
Public methodAsMessagePackExtendedTypeObject
Convert this instance to MessagePackExtendedTypeObject instance.
Public methodAsSByte
Convert this instance to SByte instance.
Public methodAsSingle
Convert this instance to Single instance.
Public methodAsString
Convert this instance to String instance.
Public methodAsString(Encoding)
Gets the underlying value as string encoded with specified Encoding.
Public methodAsStringUtf16
Get underlying value as UTF-16 string.
Public methodAsStringUtf8
Get underlying value as UTF8 string.
Public methodAsUInt16
Convert this instance to UInt16 instance.
Public methodAsUInt32
Convert this instance to UInt32 instance.
Public methodAsUInt64
Convert this instance to UInt64 instance.
Public methodEquals(Object)
Compare two instances are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(MessagePackObject)
Compare two instances are equal.
Public methodStatic memberFromObject
Wraps specified object as MessagePackObject recursively.
Public methodGetHashCode
Get hash code of this instance.
(Overrides ValueTypeGetHashCode.)
Public methodIsTypeOf(Type)
Determine whether the underlying value of this instance is specified type or not.
Public methodIsTypeOfT
Determine whether the underlying value of this instance is specified type or not.
Public methodPackToMessage
Pack this instance itself using specified Packer.
Public methodToObject
Get boxed underlying value for this object.
Public methodToString
Returns a string that represents the current object.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compare two instances are equal.
Public operatorStatic member(MessagePackObject to Boolean)
Convert this instance to Boolean instance.
Public operatorStatic member(MessagePackObject to Byte)
Convert this instance to Byte instance.
Public operatorStatic member(MessagePackObject to SByte)
Convert this instance to SByte instance.
Public operatorStatic member(MessagePackObject to Int16)
Convert this instance to Int16 instance.
Public operatorStatic member(MessagePackObject to UInt16)
Convert this instance to UInt16 instance.
Public operatorStatic member(MessagePackObject to Int32)
Convert this instance to Int32 instance.
Public operatorStatic member(MessagePackObject to UInt32)
Convert this instance to UInt32 instance.
Public operatorStatic member(MessagePackObject to Int64)
Convert this instance to Int64 instance.
Public operatorStatic member(MessagePackObject to UInt64)
Convert this instance to UInt64 instance.
Public operatorStatic member(MessagePackObject to Single)
Convert this instance to Single instance.
Public operatorStatic member(MessagePackObject to Double)
Convert this instance to Double instance.
Public operatorStatic member(MessagePackObject to String)
Convert this instance to String instance.
Public operatorStatic member(MessagePackObject to Byte)
Convert this instance to Byte[] instance.
Public operatorStatic member(MessagePackObject to MessagePackExtendedTypeObject)
Convert this instance to MessagePackExtendedTypeObject instance.
Public operatorStatic member(Boolean to MessagePackObject)
Convert Booleaninstance to MessagePackObject instance.
Public operatorStatic member(Byte to MessagePackObject)
Convert Byteinstance to MessagePackObject instance.
Public operatorStatic member(Byte to MessagePackObject)
Convert Byte[]instance to MessagePackObject instance.
Public operatorStatic member(Double to MessagePackObject)
Convert Doubleinstance to MessagePackObject instance.
Public operatorStatic member(Int16 to MessagePackObject)
Convert Int16instance to MessagePackObject instance.
Public operatorStatic member(Int32 to MessagePackObject)
Convert Int32instance to MessagePackObject instance.
Public operatorStatic member(Int64 to MessagePackObject)
Convert Int64instance to MessagePackObject instance.
Public operatorStatic member(SByte to MessagePackObject)
Convert SByteinstance to MessagePackObject instance.
Public operatorStatic member(Single to MessagePackObject)
Convert Singleinstance to MessagePackObject instance.
Public operatorStatic member(String to MessagePackObject)
Convert Stringinstance to MessagePackObject instance.
Public operatorStatic member(UInt16 to MessagePackObject)
Convert UInt16instance to MessagePackObject instance.
Public operatorStatic member(UInt32 to MessagePackObject)
Convert UInt32instance to MessagePackObject instance.
Public operatorStatic member(UInt64 to MessagePackObject)
Convert UInt64instance to MessagePackObject instance.
Public operatorStatic member(MessagePackExtendedTypeObject to MessagePackObject)
Convert MessagePackExtendedTypeObjectinstance to MessagePackObject instance.
Public operatorStatic member(MessagePackObject to MessagePackObject)
Convert MessagePackObject[] instance to MessagePackObject instance.
Public operatorStatic memberInequality
Compare two instances are not equal.
Top
Fields
  NameDescription
Public fieldStatic memberNil
Instance represents nil. This is equal to default value.
Top
See Also