Table of Contents

Class Message

Namespace
Bonsai.Osc
Assembly
Bonsai.Osc.dll

Represents an OSC message, including its method address and data arguments.

public sealed class Message
Inheritance
Message
Inherited Members

Constructors

Message(ArraySegment<byte>)

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

Message(byte[])

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

Message(byte[], int, int)

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

Properties

Address

Gets the OSC address pattern specifying which method to invoke with the data in this message.

Buffer

Gets the an 8-bit unsigned integer array segment representing the contents of this OSC message.

TypeTag

Gets or sets the OSC type tag specifying the type of the OSC arguments in the message.

Methods

GetContentStream()

Opens a memory stream into the OSC message contents.

GetContents()

Returns an enumerable sequence of the OSC arguments in this message.

IsMatch(string)

Returns whether the OSC address pattern in this message matches the specified method name.

ToString()

Returns a string that represents the current object.