예제 #1
0
        public void ReadGuid_Random()
        {
            var value   = Guid.NewGuid();
            var encoder = new ClassicDecoder(new Buffer <Byte>(new Byte[] { 16, 0 }.Concat(value.ToByteArray()).ToArray()));

            Assert.AreEqual(value, encoder.ReadGuid());
        }