NewTOAPIA.Net.Rtp.SdesData.SetPrivateExtension C# (CSharp) Method

SetPrivateExtension() private method

private SetPrivateExtension ( byte prefix, byte data ) : void
prefix byte
data byte
return void
        private void SetPrivateExtension(byte[] prefix, byte[] data)
        {
            // If the collection does not exist, create it
            if (privs == null)
            {
                //privs = new Dictionary<byte[], byte[]>();
                privs = new SdesPrivateExtensionHashtable();
            }

            // Set the value (this will add if it does not exist)
            privs[prefix] = data;
        }

Same methods

SdesData::SetPrivateExtension ( string prefix, string data ) : void