Constant codec should only include the consumed bits, not all bits, when validating during decoding