19 using System.Collections.Generic;
29 public override byte[]
Compress(
byte[] uncompressedData)
31 return uncompressedData;
36 return compressedData;
44 public override bool Equals(
object other)
48 return (this.GetType().Name == other.GetType().Name);
override byte [] Compress(byte[] uncompressedData)
Compress data using implemented codec
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 byte [] Decompress(byte[] compressedData)
Decompress data using implemented codec
override string GetName()
Name of this codec type