On decoding some binary error control codes