3 ms·
The prime factorization ensures that every combination of terms creates a unique value. How does binary do so?
by knome 5y ago
The prime factorization ensures that every combination of terms creates a unique value. How does binary do so?
- Strilanc 5y agoTypically either with length prefixing (what binary protocols do) or with escaping/quoting (what text protocols do). For example, JSON assigns a unique bit sequence to every possible list of strings by using '"' and ',' as separators and '\' as an escape signal to disable the special meaning of the next character.