Arithmetic coding

Descriptions at:

Closely related is the Range Encoder, see [4 ]