public byte[] Encode()
{
var length = _data.Count;
var lengthBytes = GetLength(length);
_data.InsertRange(0, lengthBytes);
_data.Insert(0, Constructed | Sequence);
return _data.ToArray();
}
public void EncodeTest() { DerData target = new DerData(); // TODO: Initialize to an appropriate value byte[] expected = null; // TODO: Initialize to an appropriate value byte[] actual; actual = target.Encode(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }