| MessagePackSerializerTUnpackSingleObject Method |
Namespace: MsgPack.Serialization
| Exception | Condition |
|---|---|
| ArgumentNullException | buffer is null. |
| SerializationException | Failed to deserialize object due to invalid unpacker state, stream content, or so. |
| MessageTypeException | Failed to deserialize object due to invalid unpacker state, stream content, or so. |
| InvalidMessagePackStreamException | Failed to deserialize object due to invalid unpacker state, stream content, or so. |
This method assumes that buffer contains single serialized object dedicatedly, so this method does not return any information related to actual consumed bytes.
This method is a counter part of PackSingleObject(T).