Table of Contents

Constructor Message

Namespace
Bonsai.Osc
Assembly
Bonsai.Osc.dll

Message(byte[])

Initializes a new instance of the Message class using the specified binary payload.

public Message(byte[] array)

Parameters

array byte[]

An 8-bit unsigned integer array representing the contents of an OSC message.

Message(ArraySegment<byte>)

Initializes a new instance of the Message class using the specified array segment.

public Message(ArraySegment<byte> buffer)

Parameters

buffer ArraySegment<byte>

A section of an 8-bit unsigned integer array representing the contents of an OSC message.

Message(byte[], int, int)

Initializes a new instance of the Message class using the specified array segment.

public Message(byte[] array, int offset, int count)

Parameters

array byte[]

An 8-bit unsigned integer array storing the contents of the OSC message.

offset int

The zero-based starting position of the OSC message in the array.

count int

The number of bytes used by the contents of the OSC message.