1. A method of encoding received data, the method comprising: receiving an incoming data block including a plurality of data symbols and a data integrity marker; marking the incoming data block using at least one extra symbol to indicate whether the incoming data block contains erroneous data based on the data integrity marker; and creating an error correction code (ECC) to protect the data symbols in the data block, wherein the ECC includes a plurality of check symbols, a plurality of unused symbols, and the at least one extra symbol.