Parses 1 RTCP packet from the specified buffer.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static RTCP_Packet Parse( byte[] buffer, ref int offset, bool noException )
Public Shared Function Parse ( buffer As Byte(), ByRef offset As Integer, noException As Boolean ) As RTCP_Packet
public: static RTCP_Packet^ Parse( array<unsigned char>^ buffer, int% offset, bool noException )
static member Parse : buffer : byte[] * offset : int byref * noException : bool -> RTCP_Packet
Return Value
RTCP_Packet
Returns parsed RTCP packet or null if parsing is failed and noException=true.
Returns parsed RTCP packet or null if parsing is failed and noException=true.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when buffer is null. |
ArgumentException | Is raised when any of the arguments has invalid value. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119