Try to refactor the `while` loops in `FecCode::decoding_packet` and `FecCode::encoding_packet`
Try to refactor the
whileloops inFecCode::decoding_packetandFecCode::encoding_packet