Exemple #1
0
 /// <summary>
 /// Creates a new instance of the <see cref="YencArticle"/> class.
 /// </summary>
 /// <param name="header">The header of the Yenc-encoded article.</param>
 /// <param name="footer">The optional footer of the Yenc-encoded article.</param>
 /// <param name="data">The binary data obtained by decoding the Yenc-decoded article.</param>
 public YencArticle(YencHeader header, YencFooter footer, byte[] data)
 {
     Header = header.ThrowIfNull(nameof(header));
     Footer = footer;
     Data   = data.ThrowIfNull(nameof(data));
 }