PackerPackMapHeaderTKey, TValue Method (IDictionaryTKey, TValue) |
Bookkeep dictionary count to be packed on current stream.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public Packer PackMapHeader<TKey, TValue>(
IDictionary<TKey, TValue> map
)
Public Function PackMapHeader(Of TKey, TValue) (
map As IDictionary(Of TKey, TValue)
) As Packer
public:
generic<typename TKey, typename TValue>
Packer^ PackMapHeader(
IDictionary<TKey, TValue>^ map
)
member PackMapHeader :
map : IDictionary<'TKey, 'TValue> -> Packer
Parameters
- map
- Type: System.Collections.GenericIDictionaryTKey, TValue
Dictionary count to be written.
Type Parameters
- TKey
[Missing <typeparam name="TKey"/> documentation for "M:MsgPack.Packer.PackMapHeader``2(System.Collections.Generic.IDictionary{``0,``1})"]
- TValue
[Missing <typeparam name="TValue"/> documentation for "M:MsgPack.Packer.PackMapHeader``2(System.Collections.Generic.IDictionary{``0,``1})"]
Return Value
Type:
PackerThis instance.
Exceptions See Also