Interface module for various compression implementation