Edit: encode.h