diracdec: fix unchecked byte length