~ubuntu-branches/ubuntu/hoary/monodevelop/hoary

« back to all changes in this revision

Viewing changes to src/Libraries/MonoDevelop.Gui.Utils/DirectoryArchive/Bz2Support.cs

  • Committer: Bazaar Package Importer
  • Author(s): Brandon Hale
  • Date: 2004-10-07 11:51:11 UTC
  • Revision ID: james.westby@ubuntu.com-20041007115111-pxcqnwfxyq5mhcx5
Tags: 0.5.1-3
Use dh_netdeps in debian/rules and debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
using System.IO;
 
3
using ICSharpCode.SharpZipLib.BZip2;
 
4
 
 
5
namespace MonoDevelop.Gui.Utils.DirectoryArchive {
 
6
        
 
7
        public class BZip2Decompressor : ISingleFileDecompressor {
 
8
                public Stream Decompress (Stream input)
 
9
                {
 
10
                        input.ReadByte();
 
11
                        input.ReadByte();
 
12
                        return new BZip2InputStream(input);
 
13
                }
 
14
        }
 
15
}