Avro C#
Public Member Functions | List of all members
Avro.File.NullCodec Class Reference

Implements a codec that does not perform any compression. This codec simply returns the bytes presented to it "as-is". More...

Inheritance diagram for Avro.File.NullCodec:
Avro.File.Codec

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
 
- Public Member Functions inherited from Avro.File.Codec
override string ToString ()
 Returns name of codec More...
 

Additional Inherited Members

- Public Types inherited from Avro.File.Codec
enum  Type { Type.Deflate, Type.Null }
 Codec types More...
 
- Static Public Member Functions inherited from Avro.File.Codec
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...
 

Detailed Description

Implements a codec that does not perform any compression. This codec simply returns the bytes presented to it "as-is".

Constructor & Destructor Documentation

◆ NullCodec()

Avro.File.NullCodec.NullCodec ( )
inline

Initializes a new instance of the NullCodec class.


The documentation for this class was generated from the following file: