Exemplo n.º 1
0
        /// <summary> Adds the more message pay load </summary>
        /// <param name="data"></param>
        public void AddMessagePayload(byte[] data)
        {
            SmppBuffer tmpBuff = new SmppBuffer(DataCodings.Default);

            tmpBuff.AddBytes(data);

            Add(TLV.Create(OptionalTags.MessagePayload, Convert.ToUInt16(tmpBuff.Length), tmpBuff.Buffer));
        }