Faster priority encoder, added PriEnc to API.
Finished updating enc.h.
Added stub for encoder/decoder to docs.