The methods of the HuffmanAlgorithm class are listed below. For a complete list of HuffmanAlgorithm class members, see the HuffmanAlgorithm Members topic.
Dispose | |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
Extract | Overloaded. Build a frequency table and Huffman tree and extract the archive. |
ExtractWithProgress | Overloaded. Build a frequency table and Huffman tree and extract the archive. This function version, calls the PercentComplete event handler When anothe 1 percent compleated. |
GetArchivingRatio | This function calculates the the archiving ratio of a given archived stream. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
IsArchivedStream | Checks if a data stream is archived. |
IsPasswardProtectedStream | Checks if a given archived data stream is password protected. |
Shrink | Overloaded. Build a frequency table and Huffman tree and shrinking the stream data. |
ShrinkWithProgress | Overloaded. Build a frequency table and Huffman tree and shrinking the stream data. This function version, calls the PercentComplete event handler When anothe 1 percent compleated. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
BuildFrequencyTable | Scanning for repeated bytes and according to them build frequency table. |
GetComplementsBits | Calculates the amount of complements bits, needed for the last byte writing. |
PasswordGen | This function takes a password cstring and converts it to a ushort number that's fit the header of a shrinked file. |
SortArrays | Bouble sort FrequencyTable( according frequency level ) and making the same changes on the corresponding array. |
WriteHeader | Write a header to the stream. This header is vital when extracting the data. |
HuffmanAlgorithm Class | JadBenAutho.Tools Namespace