Table of Contents

CustomPayload

struct in Coherence.Common

Contains arbitrary user-defined data in the form of a byte array.

Constructors
CustomPayload

Creates a new CustomPayload from a byte array.

Fields
Empty

Empty payload.

MaxCustomPayloadLen

Maximum length of the custom payload in bytes.

Properties
AsString

Decodes the payload's byte array to a string using UTF8 encoding.

Bytes

Returns the payload's underlying byte array.

IsEmpty

Returns true if the payload contains no data.