I have an array of Bytes and I need to compress it, no certain algorithm I just need to create an algorithm that will look for common patterns in the byte array then say replace them for a shorter pateren that is defined at the begining. The only problem is I don't know an algorithm that will definitely work, if someone has already done this it would be a grat help, otherwise I guess i'm going to have to do it from scratch.
Thanx for any help.
