1
2
3
4
5
6 using System;
7
8 namespace System.IO
9 {
10 public delegate byte GetSystemCompressionMethodFunction();
11 public delegate void DataCompressionFunction(SharedPtr<ByteStream>& in, SharedPtr<ByteStream>& out);
12
13 public const int numSystemCompressions = 2;
14 public const byte deflateCompression = 0u;
15 public const byte bzip2Compression = 1u;
16
17 public GetSystemCompressionMethodFunction getSystemCompressionMethod;
18 public DataCompressionFunction[numSystemCompressions] compressFunctions;
19 public DataCompressionFunction[numSystemCompressions] expandFunctions;
20 }