Patent ID: 7965841

Claim:
A method for creating a compressed data and decompressing the compressed data, the method for creating the compressed data comprising: adding a first bit string having a predetermined length to a head of the data string to produce a bit and data string; first compressing the bit and data string by using a compression method to produce a compressed bit and data string comprising a compressed first bit string and a compressed data string; dividing the compressed bit and data string into a first part that is from a head position to a predetermined position of the compressed first bit string in the compressed bit and data string and a second part that is a remaining of the compressed bit and data string; and outputting the second part, and the method for decompressing the compressed data comprising: second compressing, using a processor, a second bit string that is the same as the first bit string by using the compression method used in the first compressing to produce a compressed second bit string, the compressed second bit string being the same as the compressed first bit string; taking off, using the processor, a head part from the compressed second bit string, the head part being the same as the first part; inputting the second part output at the outputting; reproducing the compressed bit and data string by adding the head part to a head of the second part input at the inputting; decoding the compressed bit and data string reproduced at the reproducing; and outputting the data string by removing a decoded bit string from the decoded bit and data string.