public void ValueListToBytesTest()
        {
            var list = new ValueList <byte>();

            list.AddBytes("hello", Encoding.UTF8);

            Assert.AreEqual(Encoding.UTF8.GetString(list.ToArray()), "hello");
        }