namespace DelftTools.Utils.Serialization
{
///
/// Interface to implement on a compressor class which can be used to compress/decompress the resulting byte array of the Fast serializer.
///
public interface IByteCompressor
{
///
/// Compresses the specified serialized data.
///
/// The serialized data.
/// The passed in serialized data in compressed form
byte[] Compress(byte[] serializedData);
///
/// Decompresses the specified compressed data.
///
/// The compressed data.
/// The passed in de-serialized data in compressed form
byte[] Decompress(byte[] compressedData);
}
}