Example #1
0
            public void Merge()
            {
                var bytes = new byte[] { 10, 10 };

                var writer1 = new FastMemoryWriter();

                writer1.Write(bytes);

                var writer2 = new FastMemoryWriter();
                var result  = writer2.Merge(writer1);

                Assert.Equal(bytes, result);
            }