Lines Matching refs:HexStringToByteArray

19             Assert.AreEqual(new byte[] {0x0a}, Misc.HexStringToByteArray("0a"));  in ShouldGetBytesFromHexString()
22 Misc.HexStringToByteArray("abcdefABCDEF0123456789") in ShouldGetBytesFromHexString()
24 Assert.AreEqual(new byte[] {0x0a, 0xb1}, Misc.HexStringToByteArray("0aB1")); in ShouldGetBytesFromHexString()
25 … Assert.AreEqual(new byte[] {0xb1, 0x0a}, Misc.HexStringToByteArray("0aB1", reverse: true)); in ShouldGetBytesFromHexString()
26 Assert.AreEqual(new byte[] {0x00, 0xab, 0x15}, Misc.HexStringToByteArray("00aB15")); in ShouldGetBytesFromHexString()
27 …Assert.AreEqual(new byte[] {0x15, 0xab, 0x00}, Misc.HexStringToByteArray("00aB15", reverse: true)); in ShouldGetBytesFromHexString()
28 … Assert.AreEqual(new byte[] {0xab}, Misc.HexStringToByteArray("a\tb", ignoreWhitespace: true)); in ShouldGetBytesFromHexString()
29 … Assert.AreEqual(new byte[] {0xab}, Misc.HexStringToByteArray("a\t \nb", ignoreWhitespace: true)); in ShouldGetBytesFromHexString()
30 …Assert.AreEqual(new byte[] {0xab, 0xcd}, Misc.HexStringToByteArray("ab cd", ignoreWhitespace: true… in ShouldGetBytesFromHexString()
31 …Assert.AreEqual(new byte[] {0xcd, 0xab}, Misc.HexStringToByteArray("ab cd", ignoreWhitespace: true… in ShouldGetBytesFromHexString()
32 …Assert.AreEqual(new byte[] {0xab, 0xcd, 0xef}, Misc.HexStringToByteArray("abc def", ignoreWhitespa… in ShouldGetBytesFromHexString()
33 …Assert.AreEqual(new byte[] {0xef, 0xcd, 0xab}, Misc.HexStringToByteArray("abc def", ignoreWhitespa… in ShouldGetBytesFromHexString()
37 Misc.HexStringToByteArray("ab3"); in ShouldGetBytesFromHexString()
42 Misc.HexStringToByteArray("ab cd"); in ShouldGetBytesFromHexString()
47 Misc.HexStringToByteArray("abc def"); in ShouldGetBytesFromHexString()
52 Misc.HexStringToByteArray("x"); in ShouldGetBytesFromHexString()
57 Misc.HexStringToByteArray("xx"); in ShouldGetBytesFromHexString()