Elias Gamma Coding
Elias gamma code is a universal code encoding positive integers developed by Peter Elias. It is used most commonly when coding integers whose upper-bound cannot be determined beforehand.
Read more about Elias Gamma Coding: Encoding, Decoding, Uses, Generalizations