using System.IO;
namespace DelftTools.Utils.Serialization
{
///
/// Interface to implement on specialized compressor classes to compress a passed-in memory stream
///
public interface IMemoryStreamByteCompressor: IByteCompressor
{
///
/// Compresses the specified memory stream.
///
/// The memory stream.
/// the data in the memory stream in compressed format.
byte[] Compress(MemoryStream memoryStream);
}
}