/// <summary> /// Initializes a new instance of the <see cref="TarArchive"/> class. /// </summary> /// <param name="stream">The <see cref="TarInputStream"/> to use for input.</param> protected TarArchive(TarInputStream stream) { tarIn = stream ?? throw new ArgumentNullException(nameof(stream)); }