MessagePackObject Structure |
Namespace: MsgPack
The MessagePackObject type exposes the following members.
Name | Description | |
---|---|---|
MessagePackObject(Boolean) |
Initializes a new instance of the MessagePackObject type which wraps Boolean instance.
| |
MessagePackObject(Byte) |
Initializes a new instance of the MessagePackObject type which wraps Byte instance.
| |
MessagePackObject(Byte) | ||
MessagePackObject(Double) |
Initializes a new instance of the MessagePackObject type which wraps Double instance.
| |
MessagePackObject(Int16) |
Initializes a new instance of the MessagePackObject type which wraps Int16 instance.
| |
MessagePackObject(Int32) |
Initializes a new instance of the MessagePackObject type which wraps Int32 instance.
| |
MessagePackObject(Int64) |
Initializes a new instance of the MessagePackObject type which wraps Int64 instance.
| |
MessagePackObject(SByte) |
Initializes a new instance of the MessagePackObject type which wraps SByte instance.
| |
MessagePackObject(Single) |
Initializes a new instance of the MessagePackObject type which wraps Single instance.
| |
MessagePackObject(String) |
Initializes a new instance of the MessagePackObject type which wraps String instance.
| |
MessagePackObject(UInt16) |
Initializes a new instance of the MessagePackObject type which wraps UInt16 instance.
| |
MessagePackObject(UInt32) |
Initializes a new instance of the MessagePackObject type which wraps UInt32 instance.
| |
MessagePackObject(UInt64) |
Initializes a new instance of the MessagePackObject type which wraps UInt64 instance.
| |
MessagePackObject(MessagePackExtendedTypeObject) |
Initializes a new instance of the MessagePackObject type which wraps MessagePackExtendedTypeObject instance.
| |
MessagePackObject(IListMessagePackObject) |
Initializes a new instance wraps IListT.
| |
MessagePackObject(MessagePackObjectDictionary) |
Initializes a new instance wraps MessagePackObjectDictionary.
| |
MessagePackObject(Byte, Boolean) | ||
MessagePackObject(IListMessagePackObject, Boolean) |
Initializes a new instance wraps IListT.
| |
MessagePackObject(MessagePackObjectDictionary, Boolean) |
Initializes a new instance wraps MessagePackObjectDictionary.
|
Name | Description | |
---|---|---|
IsArray |
Get the value indicates whether this instance wraps list (array) or not.
| |
IsDictionary |
Get the value indicates whether this instance wraps dictionary (map) or not.
| |
IsList |
Get the value indicates whether this instance wraps list (array) or not.
| |
IsMap |
Get the value indicates whether this instance wraps dictionary (map) or not.
| |
IsNil |
Get whether this instance represents nil.
| |
IsRaw |
Get the value indicates whether this instance wraps raw binary (or string) or not.
| |
UnderlyingType |
Get underlying type of this instance.
|
Name | Description | |
---|---|---|
AsBinary |
Convert this instance to Byte[] instance.
| |
AsBoolean |
Convert this instance to Boolean instance.
| |
AsByte |
Convert this instance to Byte instance.
| |
AsCharArray |
Get underlying value as UTF-16 charcter array.
| |
AsDictionary |
Get underlying value as MessagePackObjectDictionary.
| |
AsDouble |
Convert this instance to Double instance.
| |
AsEnumerable |
Get underlying value as IEnumerableT.
| |
AsInt16 |
Convert this instance to Int16 instance.
| |
AsInt32 |
Convert this instance to Int32 instance.
| |
AsInt64 |
Convert this instance to Int64 instance.
| |
AsList |
Get underlying value as IListT.
| |
AsMessagePackExtendedTypeObject |
Convert this instance to MessagePackExtendedTypeObject instance.
| |
AsSByte |
Convert this instance to SByte instance.
| |
AsSingle |
Convert this instance to Single instance.
| |
AsString |
Convert this instance to String instance.
| |
AsString(Encoding) |
Gets the underlying value as string encoded with specified Encoding.
| |
AsStringUtf16 |
Get underlying value as UTF-16 string.
| |
AsStringUtf8 |
Get underlying value as UTF8 string.
| |
AsUInt16 |
Convert this instance to UInt16 instance.
| |
AsUInt32 |
Convert this instance to UInt32 instance.
| |
AsUInt64 |
Convert this instance to UInt64 instance.
| |
Equals(Object) |
Compare two instances are equal.
(Overrides ValueTypeEquals(Object).) | |
Equals(MessagePackObject) |
Compare two instances are equal.
| |
FromObject |
Wraps specified object as MessagePackObject recursively.
| |
GetHashCode |
Get hash code of this instance.
(Overrides ValueTypeGetHashCode.) | |
IsTypeOf(Type) |
Determine whether the underlying value of this instance is specified type or not.
| |
IsTypeOfT |
Determine whether the underlying value of this instance is specified type or not.
| |
PackToMessage |
Pack this instance itself using specified Packer.
| |
ToObject |
Get boxed underlying value for this object.
| |
ToString |
Returns a string that represents the current object.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Equality |
Compare two instances are equal.
| |
(MessagePackObject to Boolean) |
Convert this instance to Boolean instance.
| |
(MessagePackObject to Byte) |
Convert this instance to Byte instance.
| |
(MessagePackObject to SByte) |
Convert this instance to SByte instance.
| |
(MessagePackObject to Int16) |
Convert this instance to Int16 instance.
| |
(MessagePackObject to UInt16) |
Convert this instance to UInt16 instance.
| |
(MessagePackObject to Int32) |
Convert this instance to Int32 instance.
| |
(MessagePackObject to UInt32) |
Convert this instance to UInt32 instance.
| |
(MessagePackObject to Int64) |
Convert this instance to Int64 instance.
| |
(MessagePackObject to UInt64) |
Convert this instance to UInt64 instance.
| |
(MessagePackObject to Single) |
Convert this instance to Single instance.
| |
(MessagePackObject to Double) |
Convert this instance to Double instance.
| |
(MessagePackObject to String) |
Convert this instance to String instance.
| |
(MessagePackObject to Byte) |
Convert this instance to Byte[] instance.
| |
(MessagePackObject to MessagePackExtendedTypeObject) |
Convert this instance to MessagePackExtendedTypeObject instance.
| |
(Boolean to MessagePackObject) |
Convert Booleaninstance to MessagePackObject instance.
| |
(Byte to MessagePackObject) |
Convert Byteinstance to MessagePackObject instance.
| |
(Byte to MessagePackObject) |
Convert Byte[]instance to MessagePackObject instance.
| |
(Double to MessagePackObject) |
Convert Doubleinstance to MessagePackObject instance.
| |
(Int16 to MessagePackObject) |
Convert Int16instance to MessagePackObject instance.
| |
(Int32 to MessagePackObject) |
Convert Int32instance to MessagePackObject instance.
| |
(Int64 to MessagePackObject) |
Convert Int64instance to MessagePackObject instance.
| |
(SByte to MessagePackObject) |
Convert SByteinstance to MessagePackObject instance.
| |
(Single to MessagePackObject) |
Convert Singleinstance to MessagePackObject instance.
| |
(String to MessagePackObject) |
Convert Stringinstance to MessagePackObject instance.
| |
(UInt16 to MessagePackObject) |
Convert UInt16instance to MessagePackObject instance.
| |
(UInt32 to MessagePackObject) |
Convert UInt32instance to MessagePackObject instance.
| |
(UInt64 to MessagePackObject) |
Convert UInt64instance to MessagePackObject instance.
| |
(MessagePackExtendedTypeObject to MessagePackObject) |
Convert MessagePackExtendedTypeObjectinstance to MessagePackObject instance.
| |
(MessagePackObject to MessagePackObject) |
Convert MessagePackObject[] instance to MessagePackObject instance.
| |
Inequality |
Compare two instances are not equal.
|