/// <summary> /// This method adds our information to the byte stream. /// </summary> /// <param name="writer"></param> public void AddToStream(SmppWriter writer) { writer.Add((byte)this.Count); for (int i = 0; i < this.Count; ++i) { multi_address addr = this[i]; addr.AddToStream(writer); } }
/// <summary> /// This method adds our information to the byte stream. /// </summary> /// <param name="writer"></param> public void AddToStream(SmppWriter writer) { addr_.AddToStream(writer); writer.Add(status_); }