Ejemplo n.º 1
0
        public void BytesTest()
        {
            var         expected = new byte[] { 0, 15, 35, 255, 46, 80, 0 };
            SuperStream target   = new SuperStream(Endianess.Little);

            target.WriteBytes(expected);
            target.Position = 0;
            var actual = target.ReadBytes((uint)expected.Length);

            Assert.IsTrue(expected.SequenceEqual(actual));
        }