General purpose data compression library 