PackerPackString Method (IEnumerableChar, Encoding) |
Packs specified char stream to current stream with specified
Encoding.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public Packer PackString(
IEnumerable<char> value,
Encoding encoding
)
Public Function PackString (
value As IEnumerable(Of Char),
encoding As Encoding
) As Packer
public:
Packer^ PackString(
IEnumerable<wchar_t>^ value,
Encoding^ encoding
)
member PackString :
value : IEnumerable<char> *
encoding : Encoding -> Packer
Parameters
- value
- Type: System.Collections.GenericIEnumerableChar
Source chars its size is not known. - encoding
- Type: System.TextEncoding
Encoding to be used.
Return Value
Type:
PackerThis instance.
Exceptions See Also