Exemplo n.º 1
0
 public static void WriteUInt32_SingleValue_HappyPath(uint input, string hexExpectedEncoding)
 {
     byte[] expectedEncoding = hexExpectedEncoding.HexToByteArray();
     using var writer = new CborWriter();
     writer.WriteUInt32(input);
     AssertHelper.HexEqual(expectedEncoding, writer.ToArray());
 }