SIPSorcery.Net.RTPPacket.GetNullPayload C# (CSharp) Method

GetNullPayload() private method

private GetNullPayload ( int numBytes ) : byte[]
numBytes int
return byte[]
        private byte[] GetNullPayload(int numBytes)
        {
            byte[] payload = new byte[numBytes];

            for(int byteCount=0; byteCount<numBytes; byteCount++)
            {
                payload[byteCount] = 0xff;
            }

            return payload;
        }