List of all members.
Public Types |
| enum | Type { Deflate,
Null
} |
| | Codec types. More...
|
Public Member Functions |
| abstract byte[] | Compress (byte[] uncompressedData) |
| | Compress data using implemented codec.
|
| abstract byte[] | Decompress (byte[] compressedData) |
| | Decompress data using implemented codec.
|
| abstract string | GetName () |
| | Name of this codec type.
|
| abstract override bool | Equals (object other) |
| | Codecs must implement an equals() method.
|
| abstract override int | GetHashCode () |
| | Codecs must implement a HashCode() method that is consistent with Equals.
|
| override string | ToString () |
| | Returns name of codec.
|
Static Public Member Functions |
| static Codec | CreateCodec (Type codecType) |
| | Factory method to return child codec instance based on Codec.Type.
|
| static Codec | CreateCodecFromString (string codecType) |
| | Factory method to return child codec instance based on string type.
|
Member Enumeration Documentation
Member Function Documentation
Factory method to return child codec instance based on Codec.Type.
- Parameters:
-
- Returns:
Factory method to return child codec instance based on string type.
- Parameters:
-
- Returns:
Returns name of codec.
- Returns:
The documentation for this class was generated from the following file:
- src/apache/main/File/Codec.cs