Changeset 4995d21 in rtems for cpukit/zlib


Ignore:
Timestamp:
Oct 28, 2005, 7:22:44 AM (14 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
654a869, 7c66a0d
Parents:
3a7bfc1e
Message:

Import from zlib-1.2.4

Location:
cpukit/zlib/contrib/dotzlib/DotZLib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/zlib/contrib/dotzlib/DotZLib/Deflater.cs

    r3a7bfc1e r4995d21  
    22// © Copyright Henrik Ravn 2004
    33//
    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.
    55// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
    66//
     
    5757            if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException();
    5858            if ((offset+count) > data.Length) throw new ArgumentException();
    59            
     59
    6060            int total = count;
    6161            int inputIndex = offset;
     
    8787        {
    8888            int err;
    89             do 
     89            do
    9090            {
    9191                err = deflate(ref _ztream, (int)FlushTypes.Finish);
  • cpukit/zlib/contrib/dotzlib/DotZLib/DotZLib.cs

    r3a7bfc1e r4995d21  
    22// © Copyright Henrik Ravn 2004
    33//
    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.
    55// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
    66//
     
    2020    /// Defines constants for the various flush types used with zlib
    2121    /// </summary>
    22     internal enum FlushTypes 
     22    internal enum FlushTypes
    2323    {
    2424        None,  Partial,  Sync,  Full,  Finish,  Block
     
    3939
    4040        [MarshalAs(UnmanagedType.LPStr)]
    41         string msg; 
     41        string msg;
    4242        uint state;
    4343
     
    5252
    5353    #endregion
    54    
     54
    5555    #endregion
    5656
     
    6464        /// The default compression level with a reasonable compromise between compression and speed
    6565        /// </summary>
    66         Default = -1,   
     66        Default = -1,
    6767        /// <summary>
    6868        /// No compression at all. The data are passed straight through.
     
    7272        /// The maximum compression rate available.
    7373        /// </summary>
    74         Best = 9,   
     74        Best = 9,
    7575        /// <summary>
    7676        /// The fastest available compression level.
     
    8787    {
    8888        /// <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
    9090        /// error message and error code
    9191        /// </summary>
     
    9797
    9898        /// <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
    100100        /// error code
    101101        /// </summary>
     
    110110
    111111    /// <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
    113113    /// </summary>
    114114    public interface ChecksumGenerator
     
    164164    /// <paramref name="startIndex">The index of the first processed byte in <c>data</c></paramref>
    165165    /// <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.
    167167    /// You cannot assume that startIndex will be zero.
    168168    /// </remarks>
Note: See TracChangeset for help on using the changeset viewer.