public byte[] GetBlob() { return byteList.ToArray(); }
public void TestAddBytes() { BlobBuilder builder = new BlobBuilder(); byte[] value = { 0, 1, 2, 3, 4, 5 }; builder.AddBytes(value); Assert.That(builder.GetBlob(), Is.EqualTo(value)); }