Arithmetic coding in java Program takes a specified file and encodes it using the Arithmetic coding. Decoding is also possible.