Hacker News new | ask | show | jobs
by nemoniac 3399 days ago
It's called a prefix code. It's a fundamental idea in coding theory.

https://en.wikipedia.org/wiki/Prefix_code

https://en.wikipedia.org/wiki/Coding_theory