Internalizing Ionic.Zlib classes

This commit is contained in:
Justin Aquadro 2013-04-18 00:56:05 -04:00
parent 51511529ba
commit d71c75e033
9 changed files with 13 additions and 13 deletions

View file

@ -52,7 +52,7 @@ namespace Ionic.Zlib
#if !NETCF
[Interop.ClassInterface(Interop.ClassInterfaceType.AutoDispatch)]
#endif
public class CRC32
internal class CRC32
{
/// <summary>
/// indicates the total number of bytes read on the CRC stream.
@ -322,7 +322,7 @@ namespace Ionic.Zlib
/// DotNetZip library.
/// </para>
/// </remarks>
public class CrcCalculatorStream : System.IO.Stream, System.IDisposable
internal class CrcCalculatorStream : System.IO.Stream, System.IDisposable
{
private static readonly Int64 UnsetLengthLimit = -99;

View file

@ -78,7 +78,7 @@ namespace Ionic.Zlib
/// <remarks>
/// The different FlushType values are useful when using a Deflate in a streaming application.
/// </remarks>
public enum FlushType
internal enum FlushType
{
/// <summary>No flush at all.</summary>
None = 0,

View file

@ -59,7 +59,7 @@ namespace Ionic.Zlib
///
/// <seealso cref="DeflateStream" />
/// <seealso cref="GZipStream" />
public class DeflateStream : System.IO.Stream
internal class DeflateStream : System.IO.Stream
{
internal ZlibBaseStream _baseStream;
internal System.IO.Stream _innerStream;

View file

@ -81,7 +81,7 @@ namespace Ionic.Zlib
///
/// <seealso cref="DeflateStream" />
/// <seealso cref="ZlibStream" />
public class GZipStream : System.IO.Stream
internal class GZipStream : System.IO.Stream
{
// GZip format
// source: http://tools.ietf.org/html/rfc1952

View file

@ -90,7 +90,7 @@ namespace Ionic.Zlib
///
/// </remarks>
/// <seealso cref="Ionic.Zlib.DeflateStream" />
public class ParallelDeflateOutputStream : System.IO.Stream
internal class ParallelDeflateOutputStream : System.IO.Stream
{
private static readonly int IO_BUFFER_SIZE_DEFAULT = 64 * 1024; // 128k

View file

@ -73,7 +73,7 @@ namespace Ionic.Zlib
/// <summary>
/// The compression level to be used when using a DeflateStream or ZlibStream with CompressionMode.Compress.
/// </summary>
public enum CompressionLevel
internal enum CompressionLevel
{
/// <summary>
/// None means that the data will be simply stored, with no change at all.
@ -152,7 +152,7 @@ namespace Ionic.Zlib
/// work better on different sorts of data. The strategy parameter can affect the compression
/// ratio and the speed of compression but not the correctness of the compresssion.
/// </summary>
public enum CompressionStrategy
internal enum CompressionStrategy
{
/// <summary>
/// The default strategy is probably the best for normal data.
@ -179,7 +179,7 @@ namespace Ionic.Zlib
/// <summary>
/// An enum to specify the direction of transcoding - whether to compress or decompress.
/// </summary>
public enum CompressionMode
internal enum CompressionMode
{
/// <summary>
/// Used to specify that the stream should compress the data.
@ -196,7 +196,7 @@ namespace Ionic.Zlib
/// A general purpose exception class for exceptions in the Zlib library.
/// </summary>
[Interop.GuidAttribute("ebc25cf6-9120-4283-b972-0e5520d0000E")]
public class ZlibException : System.Exception
internal class ZlibException : System.Exception
{
/// <summary>
/// The ZlibException class captures exception information generated

View file

@ -84,7 +84,7 @@ namespace Ionic.Zlib
#if !NETCF
[Interop.ClassInterface(Interop.ClassInterfaceType.AutoDispatch)]
#endif
sealed public class ZlibCodec
sealed internal class ZlibCodec
{
/// <summary>
/// The buffer from which data is taken.

View file

@ -68,7 +68,7 @@ namespace Ionic.Zlib
/// <summary>
/// A bunch of constants used in the Zlib interface.
/// </summary>
public static class ZlibConstants
internal static class ZlibConstants
{
/// <summary>
/// The maximum number of window bits for the Deflate algorithm.

View file

@ -68,7 +68,7 @@ namespace Ionic.Zlib
/// </remarks>
/// <seealso cref="DeflateStream" />
/// <seealso cref="GZipStream" />
public class ZlibStream : System.IO.Stream
internal class ZlibStream : System.IO.Stream
{
internal ZlibBaseStream _baseStream;
bool _disposed;