PackerUnpackerExtensionsUnpackT Method (Unpacker) |
Unpacks specified type value with the default context.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static T Unpack<T>(
this Unpacker source
)
<ExtensionAttribute>
Public Shared Function Unpack(Of T) (
source As Unpacker
) As T
public:
[ExtensionAttribute]
generic<typename T>
static T Unpack(
Unpacker^ source
)
[<ExtensionAttribute>]
static member Unpack :
source : Unpacker -> 'T
Parameters
- source
- Type: MsgPackUnpacker
The Unpacker.
Type Parameters
- T
- The type of the value.
Return Value
Type:
TThe deserialized value.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Unpacker. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions See Also