MessagePackObjectAsString Method (Encoding) |
Gets the underlying value as string encoded with specified
Encoding.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntaxpublic string AsString(
Encoding encoding
)
Public Function AsString (
encoding As Encoding
) As String
public:
String^ AsString(
Encoding^ encoding
)
member AsString :
encoding : Encoding -> string
Parameters
- encoding
- Type: System.TextEncoding
[Missing <param name="encoding"/> documentation for "M:MsgPack.MessagePackObject.AsString(System.Text.Encoding)"]
Return Value
Type:
String
The string.
Note that some
Encoding returns
null if the binary is not valid encoded string.
See Also