diff options
Diffstat (limited to 'contrib/dotzlib/DotZLib/DotZLib.cs')
-rw-r--r-- | contrib/dotzlib/DotZLib/DotZLib.cs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/contrib/dotzlib/DotZLib/DotZLib.cs b/contrib/dotzlib/DotZLib/DotZLib.cs index 410deb0..be184b4 100644 --- a/contrib/dotzlib/DotZLib/DotZLib.cs +++ b/contrib/dotzlib/DotZLib/DotZLib.cs | |||
@@ -1,7 +1,7 @@ | |||
1 | // | 1 | // |
2 | // © Copyright Henrik Ravn 2004 | 2 | // © Copyright Henrik Ravn 2004 |
3 | // | 3 | // |
4 | // Use, modification and distribution are subject to the Boost Software License, Version 1.0. | 4 | // Use, modification and distribution are subject to the Boost Software License, Version 1.0. |
5 | // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | 5 | // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
6 | // | 6 | // |
7 | 7 | ||
@@ -19,7 +19,7 @@ namespace DotZLib | |||
19 | /// <summary> | 19 | /// <summary> |
20 | /// Defines constants for the various flush types used with zlib | 20 | /// Defines constants for the various flush types used with zlib |
21 | /// </summary> | 21 | /// </summary> |
22 | internal enum FlushTypes | 22 | internal enum FlushTypes |
23 | { | 23 | { |
24 | None, Partial, Sync, Full, Finish, Block | 24 | None, Partial, Sync, Full, Finish, Block |
25 | } | 25 | } |
@@ -38,7 +38,7 @@ namespace DotZLib | |||
38 | public uint total_out; | 38 | public uint total_out; |
39 | 39 | ||
40 | [MarshalAs(UnmanagedType.LPStr)] | 40 | [MarshalAs(UnmanagedType.LPStr)] |
41 | string msg; | 41 | string msg; |
42 | uint state; | 42 | uint state; |
43 | 43 | ||
44 | uint zalloc; | 44 | uint zalloc; |
@@ -51,7 +51,7 @@ namespace DotZLib | |||
51 | } | 51 | } |
52 | 52 | ||
53 | #endregion | 53 | #endregion |
54 | 54 | ||
55 | #endregion | 55 | #endregion |
56 | 56 | ||
57 | #region Public enums | 57 | #region Public enums |
@@ -63,7 +63,7 @@ namespace DotZLib | |||
63 | /// <summary> | 63 | /// <summary> |
64 | /// The default compression level with a reasonable compromise between compression and speed | 64 | /// The default compression level with a reasonable compromise between compression and speed |
65 | /// </summary> | 65 | /// </summary> |
66 | Default = -1, | 66 | Default = -1, |
67 | /// <summary> | 67 | /// <summary> |
68 | /// No compression at all. The data are passed straight through. | 68 | /// No compression at all. The data are passed straight through. |
69 | /// </summary> | 69 | /// </summary> |
@@ -71,7 +71,7 @@ namespace DotZLib | |||
71 | /// <summary> | 71 | /// <summary> |
72 | /// The maximum compression rate available. | 72 | /// The maximum compression rate available. |
73 | /// </summary> | 73 | /// </summary> |
74 | Best = 9, | 74 | Best = 9, |
75 | /// <summary> | 75 | /// <summary> |
76 | /// The fastest available compression level. | 76 | /// The fastest available compression level. |
77 | /// </summary> | 77 | /// </summary> |
@@ -86,7 +86,7 @@ namespace DotZLib | |||
86 | public class ZLibException : ApplicationException | 86 | public class ZLibException : ApplicationException |
87 | { | 87 | { |
88 | /// <summary> | 88 | /// <summary> |
89 | /// Initializes a new instance of the <see cref="ZLibException"/> class with a specified | 89 | /// Initializes a new instance of the <see cref="ZLibException"/> class with a specified |
90 | /// error message and error code | 90 | /// error message and error code |
91 | /// </summary> | 91 | /// </summary> |
92 | /// <param name="errorCode">The zlib error code that caused the exception</param> | 92 | /// <param name="errorCode">The zlib error code that caused the exception</param> |
@@ -96,7 +96,7 @@ namespace DotZLib | |||
96 | } | 96 | } |
97 | 97 | ||
98 | /// <summary> | 98 | /// <summary> |
99 | /// Initializes a new instance of the <see cref="ZLibException"/> class with a specified | 99 | /// Initializes a new instance of the <see cref="ZLibException"/> class with a specified |
100 | /// error code | 100 | /// error code |
101 | /// </summary> | 101 | /// </summary> |
102 | /// <param name="errorCode">The zlib error code that caused the exception</param> | 102 | /// <param name="errorCode">The zlib error code that caused the exception</param> |
@@ -109,7 +109,7 @@ namespace DotZLib | |||
109 | #region Interfaces | 109 | #region Interfaces |
110 | 110 | ||
111 | /// <summary> | 111 | /// <summary> |
112 | /// Declares methods and properties that enables a running checksum to be calculated | 112 | /// Declares methods and properties that enables a running checksum to be calculated |
113 | /// </summary> | 113 | /// </summary> |
114 | public interface ChecksumGenerator | 114 | public interface ChecksumGenerator |
115 | { | 115 | { |
@@ -163,7 +163,7 @@ namespace DotZLib | |||
163 | /// <paramref name="data">The byte array containing the processed data</paramref> | 163 | /// <paramref name="data">The byte array containing the processed data</paramref> |
164 | /// <paramref name="startIndex">The index of the first processed byte in <c>data</c></paramref> | 164 | /// <paramref name="startIndex">The index of the first processed byte in <c>data</c></paramref> |
165 | /// <paramref name="count">The number of processed bytes available</paramref> | 165 | /// <paramref name="count">The number of processed bytes available</paramref> |
166 | /// <remarks>On return from this method, the data may be overwritten, so grab it while you can. | 166 | /// <remarks>On return from this method, the data may be overwritten, so grab it while you can. |
167 | /// You cannot assume that startIndex will be zero. | 167 | /// You cannot assume that startIndex will be zero. |
168 | /// </remarks> | 168 | /// </remarks> |
169 | public delegate void DataAvailableHandler(byte[] data, int startIndex, int count); | 169 | public delegate void DataAvailableHandler(byte[] data, int startIndex, int count); |