@@ -100,7 +100,7 @@ namespace Ionic.Zlib
100100 /// <remarks>
101101 /// The different FlushType values are useful when using a Deflate in a streaming application.
102102 /// </remarks>
103- public enum FlushType
103+ internal enum FlushType
104104 {
105105 /// <summary>No flush at all.</summary>
106106 None = 0 ,
@@ -140,7 +140,7 @@ public enum FlushType
140140 /// <summary>
141141 /// The compression level to be used when using a DeflateStream or ZlibStream with CompressionMode.Compress.
142142 /// </summary>
143- public enum CompressionLevel
143+ internal enum CompressionLevel
144144 {
145145 /// <summary>
146146 /// None means that the data will be simply stored, with no change at all.
@@ -219,7 +219,7 @@ public enum CompressionLevel
219219 /// work better on different sorts of data. The strategy parameter can affect the compression
220220 /// ratio and the speed of compression but not the correctness of the compresssion.
221221 /// </summary>
222- public enum CompressionStrategy
222+ internal enum CompressionStrategy
223223 {
224224 /// <summary>
225225 /// The default strategy is probably the best for normal data.
@@ -246,7 +246,7 @@ public enum CompressionStrategy
246246 /// <summary>
247247 /// An enum to specify the direction of transcoding - whether to compress or decompress.
248248 /// </summary>
249- public enum CompressionMode
249+ internal enum CompressionMode
250250 {
251251 /// <summary>
252252 /// Used to specify that the stream should compress the data.
@@ -263,7 +263,7 @@ public enum CompressionMode
263263 /// A general purpose exception class for exceptions in the Zlib library.
264264 /// </summary>
265265 [ Interop . GuidAttribute ( "ebc25cf6-9120-4283-b972-0e5520d0000E" ) ]
266- public class ZlibException : System . Exception
266+ internal class ZlibException : System . Exception
267267 {
268268 /// <summary>
269269 /// The ZlibException class captures exception information generated
@@ -465,7 +465,7 @@ static StaticTree()
465465 /// </remarks>
466466 ///
467467 /// <exclude/>
468- public sealed class Adler
468+ internal sealed class Adler
469469 {
470470 // largest prime smaller than 65536
471471 private static readonly uint BASE = 65521 ;
0 commit comments