Bagikan melalui


Utf8PayloadEncoder Class

Definition

A UTF-8 PayloadEncoder implementation.

public class Utf8PayloadEncoder : Microsoft.Azure.Devices.Client.PayloadEncoder
type Utf8PayloadEncoder = class
    inherit PayloadEncoder
Public Class Utf8PayloadEncoder
Inherits PayloadEncoder
Inheritance
Utf8PayloadEncoder

Properties

ContentEncoding

The encoding used for the payload.

Instance

The default instance of this class.

Methods

EncodeStringToByteArray(String)

Outputs an encoded byte array for the specified payload string.

Applies to