Support arbitrary lengths when decoding.
-rw-r--r-- 2293 decode.c
-rw-r--r-- 4637 synth.cpp