Table of Contents

Method GetPayloadArray

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

GetPayloadArray<TArray>()

Returns the message payload as an array of non-pointer value types. The size of the type should be a multiple of the total size of the payload.

public TArray[] GetPayloadArray<TArray>() where TArray : unmanaged

Returns

TArray[]

An array containing a copy of the message payload data.

Type Parameters

TArray

The type of the non-pointer values in the array.