public string Decode(int r, string y) { int input = Convert.ToInt32(y, 2); return(CodingHelper.HammingDecode(r, input)); }