Bug 9: Uncorrected Prediction/Correction Decompressor
- This decompressor takes as input a sequence of control bytes and correction bytes.
- Each output byte is predicted by using a hash of the preceding output bytes to index a table.
- If the next bit in the control byte is set, the prediction is correct and the predicted byte is emitted.
- Otherwise, the prediction is incorrect and a correction byte (from the input) is emitted.
Fix The Tiny Bug In This Go Code: