예제 #1
0
        public static void Converts_Objects()
        {
            var blob = new Blob("some blob", DateTime.UtcNow);

            var bytes = DataConvert.ObjectToBytes(blob);

            Assert.Equal(
                blob,
                DataConvert.BytesToObject <Blob>(bytes));
        }