Table of Contents

CustomPayload

Constructors
public CustomPayload(byte[] bytes)

Creates a new CustomPayload from a byte array.

Parameters
Type Name Description
byte[] bytes

The payload data.

public CustomPayload(string value)

Creates a new CustomPayload from a string using UTF8 encoding.

Parameters
Type Name Description
string value

The string that will be encoded and stored as payload data.