OscPacket MembersBespoke Osc Library

The OscPacket type exposes the following members.
Constructors

  NameDescription
Public methodOscPacket
Initializes a new instance of the OscPacket class.
Back to Top
Methods

  NameDescription
Public methodAppend T 
Appends a value to the packet.
Public methodAt T 
Return a entry in the packet.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberFromByteArray(IPEndPoint,  Byte )
Deserialize the packet.
Public methodStatic memberFromByteArray(IPEndPoint,  Byte , Int32 , Int32)
Deserialize the packet.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberPadNull
Pad a series of 0-3 null (zero) values.
Public methodSend 
Transmit an OSC packet via TCP through the connected OscClient.
Public methodSend(IPEndPoint)
Transmit an Osc packet via UDP.
Public methodSend(IPEndPoint, IPEndPoint)
Transmit an Osc packet via UDP.
Public methodStatic memberSend(OscPacket, OscClient)
Transmit an Osc packet via TCP through the connected OscClient.
Public methodStatic memberSend(OscPacket, IPEndPoint)
Transmit an Osc packet via UDP.
Public methodToByteArray
Serialize the packet.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodStatic memberValueFromByteArray T 
Deserialize a value.
Public methodStatic memberValueToByteArray T 
Serialize a value.
Back to Top
Fields

  NameDescription
Protected fieldmAddress
The OSC address pattern.
Protected fieldmClient
The destination of sent packets when using TransportType.Tcp.
Protected fieldmData
The contents of the packet.
Protected fieldmSourceEndPoint
The origin of the packet.
Protected fieldStatic membersLittleEndianByteOrder
The expected endianness of integral value types.
Back to Top
Properties

  NameDescription
Public propertyAddress
Gets the Osc address pattern.
Public propertyClient
Gets or sets the destination of sent packets when using TransportType.Tcp.
Public propertyData
Gets the contents of the packet.
Public propertyIsBundle
Specifies if the packet is an OSC bundle.
Public propertyStatic memberLittleEndianByteOrder
Gets or sets the expected endianness of integral value types.
Public propertySourceEndPoint
Gets the origin of the packet.
Back to Top
See Also