Implements a codec that does not perform any compression. This codec simply returns the bytes presented to it "as-is". More...
Public Member Functions | |
NullCodec () | |
Initializes a new instance of the NullCodec class. More... | |
override byte [] | Compress (byte[] uncompressedData) |
Compress data using implemented codec | |
override byte [] | Decompress (byte[] compressedData) |
Decompress data using implemented codec | |
override string | GetName () |
Name of this codec type | |
override bool | Equals (object other) |
Codecs must implement an equals() method | |
override int | GetHashCode () |
Codecs must implement a HashCode() method that is consistent with Equals | |
![]() | |
override string | ToString () |
Returns name of codec More... | |
Additional Inherited Members | |
![]() | |
enum | Type { Type.Deflate, Type.Null } |
Codec types More... | |
![]() | |
static Codec | CreateCodec (Type codecType) |
Factory method to return child codec instance based on Codec.Type More... | |
static Codec | CreateCodecFromString (string codecType) |
Factory method to return child codec instance based on string type More... | |
Implements a codec that does not perform any compression. This codec simply returns the bytes presented to it "as-is".
|
inline |
Initializes a new instance of the NullCodec class.