encode: Add `encodeEverything` option

Ref. #12.