Bespoke Open Sound Control Library
OscPacket Class
NamespacesBespoke.Common.OscOscPacket
Represents the base unit of transmission for the Open Sound Control protocol.
Declaration Syntax
C#Visual BasicVisual C++
public abstract class OscPacket
Public MustInherit Class OscPacket
public ref class OscPacket abstract
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
OscPacket(IPEndPoint, String)
Creates a new instance of OscPacket.

OscPacket(IPEndPoint, String, OscClient)
Creates a new instance of OscPacket.

Address
Gets the OSC address pattern.

Append<(Of <(T>)>)(T)
Appends a value to the packet.

Client
Gets or sets the destination of sent packets when using TransportType.Tcp.

Data
Gets the contents of the packet.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromByteArray(IPEndPoint, array<Byte>[]()[])
Deserialize the packet.

FromByteArray(IPEndPoint, array<Byte>[]()[], Int32%, Int32)
Deserialize the packet.

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsBundle
Specifies if the packet is an OSC bundle.

mAddress
The OSC address pattern.

mClient
The destination of sent packets when using TransportType.Tcp.

mData
The contents of the packet.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
mSourceEndPoint
The origin of the packet.

PadNull(List<(Of <(Byte>)>))
Pad a series of 0-3 null characters.

Send(OscPacket, IPEndPoint)
Transmit an OSC packet.

Send(OscPacket, OscClient)
Transmit an OSC packet via TCP through the connected OscClient.

Send(IPEndPoint)
Transmit an OSC packet via UDP.

Send()()()
Transmit an OSC packet via TCP through the connected OscClient.

SourceEndPoint
Gets the origin of the packet.

SwapEndian(array<Byte>[]()[])
Swap byte order.

ToByteArray()()()
Serialize the packet.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
ValueFromByteArray<(Of <(T>)>)(array<Byte>[]()[], Int32%)
Deserialize a value.

ValueToByteArray<(Of <(T>)>)(T)
Serialize a value.

Inheritance Hierarchy

Assembly: Bespoke.Common.Osc (Module: Bespoke.Common.Osc) Version: 4.3.0.0 (4.3.0.0)