Compression and decompression of bytes

Added methods in ASTCompressor to handle the bytes