3 ms·
Instead of their encoder's encodedValue = encodedValue | ((nextField & fieldMask) << shiftStep) you would do the reverse: decodedField = (encodedValu
by tuukkah 5y ago
Instead of their encoder's
encodedValue = encodedValue | ((nextField & fieldMask) << shiftStep)
you would do the reverse:
decodedField = (encodedValue >> shiftStep) & fieldMask