public void SetByteTest()
        {
            MemorySegment s = new MemorySegment();

            for (int i = 0; i < 8; i++)
            {
                s.SetByte(i, (byte)i);
            }
            for (int i = 0; i < 8; i++)
            {
                if (s.GetByte(i) != i)
                {
                    Assert.Fail("Bytes were not equal");
                }
            }
            Assert.IsTrue(true);
        }