| CPC G06F 11/1068 (2013.01) [G06F 11/102 (2013.01)] | 19 Claims |

|
19. A method for minimizing redundancy for stuck bit codes when retrieving a message from a memory device communicatively coupled to a storage device, the storage device comprises a controller to execute the method comprising:
generating a set of masks that are codewords and that include values that correspond to stuck bit values, wherein the set of masks includes one of full length codewords and shortened codewords;
retrieving a message codeword and errors from the memory device;
decoding the message codeword to retrieve an output;
obtaining a mask label from the output;
using the mask label to retrieve a mask from the set of masks; and
applying the mask to the output to retrieve a message.
|