FM0 encoder
Simplest imaginable FM0 encoder.
Takes unpacked bits (ie. one bit per byte of input item), generates twice as many as output.