Binary encoding

Converting any data structure to binary format.

Strings

if your alphabet is {a,b,c} then let a = 00, b = 01, c = 10 and translate.

Natural numbers

Convert to base 2 with one-complement or two-complement

Pairs of natural numbers

Encode the two parts separately and put a delimiter in between

Powered by Forestry.md