Exemplo n.º 1
0
 internal static void WriteSimpleValue_SingleValue_HappyPath(CborSimpleValue input, string hexExpectedEncoding)
 {
     byte[] expectedEncoding = hexExpectedEncoding.HexToByteArray();
     using var writer = new CborWriter();
     writer.WriteSimpleValue(input);
     AssertHelper.HexEqual(expectedEncoding, writer.ToArray());
 }