コード例 #1
0
        public void PositionTest()
        {
            var stream = ReadOnceStream.FromStream(new MemoryStream());

            stream.Position = 0;
        }
コード例 #2
0
        public void FlushTest()
        {
            var stream = ReadOnceStream.FromStream(new MemoryStream());

            stream.Flush();
        }
コード例 #3
0
        public void SeekTest()
        {
            var stream = ReadOnceStream.FromStream(new MemoryStream());

            stream.Seek(0, SeekOrigin.Begin);
        }
コード例 #4
0
 public void FromStreamNullTest()
 {
     var stream = ReadOnceStream.FromStream(null);
 }