Esempio n. 1
0
        public void T00_TestOffsetStreamWrappedInBufferedStream()
        {
            MemoryStream ms = new MemoryStream(A00_UtilTest.testdata);
            OffsetStream os = new OffsetStream(ms, A00_UtilTest.O_OFFSET, A00_UtilTest.O_LENGTH);

            BufferedStream bs = new BufferedStream(os);
            A00_UtilTest.testStream(bs);
        }
Esempio n. 2
0
        public void T00_TestOffsetStream()
        {
            MemoryStream ms = new MemoryStream(testdata);

            OffsetStream os = new OffsetStream(ms, O_OFFSET, O_LENGTH);
            testStream(os);
        }