Rtp4629ToByteArray Method (Byte, UInt32) |
The function compiles the RTP packet header and payload into a array of type Byte.
Namespace: StreamCoders.RtpAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public override void ToByteArray(
byte[] buffer,
ref uint offset
)
Public Overrides Sub ToByteArray (
buffer As Byte(),
ByRef offset As UInteger
)
public:
virtual void ToByteArray(
array<unsigned char>^ buffer,
unsigned int% offset
) override
abstract ToByteArray :
buffer : byte[] *
offset : uint32 byref -> unit
override ToByteArray :
buffer : byte[] *
offset : uint32 byref -> unit
Parameters
- buffer
- Type: SystemByte
The buffer to receive the compile RTP packet. - offset
- Type: SystemUInt32
[in,out] The offset into the buffer after it was filled. (representing the size of the
packet)
See Also