PackerPackString Method (String, Encoding) |
Packs specified string to current stream with specified
Encoding.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public Packer PackString(
string value,
Encoding encoding
)
Public Function PackString (
value As String,
encoding As Encoding
) As Packer
public:
Packer^ PackString(
String^ value,
Encoding^ encoding
)
member PackString :
value : string *
encoding : Encoding -> Packer
Parameters
- value
- Type: SystemString
Source string. - encoding
- Type: System.TextEncoding
Encoding to be used.
Return Value
Type:
PackerThis instance.
Exceptions See Also