ducatividenc: log how many bytes the encoded data is