I was doing a little research on compressing xml to another string — the only thing I could find was the LZW compression port over at razorberry’s blog. Only problem I was having was with the method’s speed — on a 500k xml document, it would actually hang my player. So I decided to make a simple method that compresses a bytearray, and then outputs a base64 string. The base64 decoder was built by