Ejemplo n.º 1
0
 protected override void Write(ArArchiveFileWriter writer)
 {
     if (Stream != null)
     {
         writer.Write(Stream);
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Writes this 'ar' archive file to the specified stream.
        /// </summary>
        /// <param name="stream">The stream to write to.</param>
        public void Write(Stream stream)
        {
            if (stream == null)
            {
                throw new ArgumentNullException(nameof(stream));
            }
            var writer = new ArArchiveFileWriter(this, stream);

            writer.Write();
        }