public String dequote(byte[] in, int ip, int ie) {boolean inquote = false;final byte[] r = new byte[ie - ip];int rPtr = 0;while (ip < ie) {final byte b = in[ip++];switch (b) {case '\'':inquote = !inquote;continue;case '\\':if (inquote || ip == ie)r[rPtr++] = b; elser[rPtr++] = in[ip++];continue;default:r[rPtr++] = b;continue;}}return RawParseUtils.decode(UTF_8, r, 0, rPtr);}

public override string Dequote(byte[] @in, int ip, int ie){bool inquote = false;byte[] r = new byte[ie - ip];int rPtr = 0;while (ip < ie){byte b = @in[ip++];switch (b){case (byte)('\''):{inquote = !inquote;continue;goto case (byte)('\\');}case (byte)('\\'):{if (inquote || ip == ie){r[rPtr++] = b;}else{r[rPtr++] = @in[ip++];}continue;goto default;}default:{r[rPtr++] = b;continue;break;}}}return RawParseUtils.Decode(Constants.CHARSET, r, 0, rPtr);}
