private void Report(AVerifier verifier) { try { Result = Encoding.GetEncoding(verifier.CharSet); } catch (ArgumentException) { Result = null; } }
private void Report(AVerifier verifier) { try { Result = Encoding.GetEncoding(verifier.CharSet); } catch(ArgumentException) { Result = null; } }
private static byte getNextState(AVerifier v, byte b, byte s) { return (byte)(0xFF & (((v.States[(((s * v.StFactor + (((v.Cclass[((b & 0xFF) >> EIDXSFT4BITS)]) >> ((b & ESFTMSK4BITS) << EBITSFT4BITS)) & EUNITMSK4BITS)) & 0xFF) >> EIDXSFT4BITS)]) >> ((((s * v.StFactor + (((v.Cclass[((b & 0xFF) >> EIDXSFT4BITS)]) >> ((b & ESFTMSK4BITS) << EBITSFT4BITS)) & EUNITMSK4BITS)) & 0xFF) & ESFTMSK4BITS) << EBITSFT4BITS)) & EUNITMSK4BITS)); }
private static byte getNextState(AVerifier v, byte b, byte s) { return((byte)(0xFF & (((v.States[(((s * v.StFactor + (((v.Cclass[((b & 0xFF) >> EIDXSFT4BITS)]) >> ((b & ESFTMSK4BITS) << EBITSFT4BITS)) & EUNITMSK4BITS)) & 0xFF) >> EIDXSFT4BITS)]) >> ((((s * v.StFactor + (((v.Cclass[((b & 0xFF) >> EIDXSFT4BITS)]) >> ((b & ESFTMSK4BITS) << EBITSFT4BITS)) & EUNITMSK4BITS)) & 0xFF) & ESFTMSK4BITS) << EBITSFT4BITS)) & EUNITMSK4BITS))); }