internal static byte[] FromBinHexString(string s, bool allowOddCount) { if (s == null) { throw new ArgumentNullException("s"); } return(BinHexDecoder.Decode(s.ToCharArray(), allowOddCount)); }