serval-dna/encode.c