Deserialize the packet.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static OscPacket FromByteArray( IPEndPoint sourceEndPoint, byte[] data, ref int start, int end )
Public Shared Function FromByteArray ( _ sourceEndPoint As IPEndPoint, _ data As Byte(), _ ByRef start As Integer, _ end As Integer _ ) As OscPacket
public: static OscPacket^ FromByteArray( IPEndPoint^ sourceEndPoint, array<unsigned char>^ data, int% start, int end )
Parameters
- sourceEndPoint (IPEndPoint)
- The packet origin.
- data (array< Byte >[]()[])
- The serialized packet.
- start ( Int32 %)
- The starting index into the serialized data stream.
- end (Int32)
- The ending index into the serialized data stream.
Return Value
The newly deserialized packet.