_SetReadStream() приватный Метод

private _SetReadStream ( ) : void
Результат void
Пример #1
0
        // Token: 0x0600067B RID: 1659 RVA: 0x0003A584 File Offset: 0x00038784
        public static ZipSegmentedStream ForReading(string name, uint initialDiskNumber, uint maxDiskNumber)
        {
            ZipSegmentedStream zipSegmentedStream = new ZipSegmentedStream
            {
                rwMode         = ZipSegmentedStream.RwMode.ReadOnly,
                CurrentSegment = initialDiskNumber,
                _maxDiskNumber = maxDiskNumber,
                _baseName      = name
            };

            zipSegmentedStream._SetReadStream();
            return(zipSegmentedStream);
        }
        public static ZipSegmentedStream ForReading(string name, uint initialDiskNumber, uint maxDiskNumber)
        {
            ZipSegmentedStream zss = new ZipSegmentedStream()
            {
                rw             = 1, // 1 == readonly
                CurrentSegment = initialDiskNumber,
                _maxDiskNumber = maxDiskNumber,
                _baseName      = name,
            };

            zss._SetReadStream();
            return(zss);
        }
Пример #3
0
        public static ZipSegmentedStream ForReading(string name, uint initialDiskNumber, uint maxDiskNumber)
        {
            ZipSegmentedStream zipSegmentedStream = new ZipSegmentedStream();

            zipSegmentedStream.rwMode         = RwMode.ReadOnly;
            zipSegmentedStream.CurrentSegment = initialDiskNumber;
            zipSegmentedStream._maxDiskNumber = maxDiskNumber;
            zipSegmentedStream._baseName      = name;
            ZipSegmentedStream zipSegmentedStream2 = zipSegmentedStream;

            zipSegmentedStream2._SetReadStream();
            return(zipSegmentedStream2);
        }
        public static ZipSegmentedStream ForReading(string name, uint initialDiskNumber, uint maxDiskNumber)
        {
            ZipSegmentedStream zss = new ZipSegmentedStream()
                {
                    rw = 1,  // 1 == readonly
                    CurrentSegment = initialDiskNumber,
                    _maxDiskNumber = maxDiskNumber,
                    _baseName = name,
                };

            zss._SetReadStream();
            return zss;
        }
Пример #5
0
        public static ZipSegmentedStream ForReading(string name,
                                                    uint initialDiskNumber,
                                                    uint maxDiskNumber)
        {
            ZipSegmentedStream zss = new ZipSegmentedStream()
            {
                rwMode         = RwMode.ReadOnly,
                CurrentSegment = initialDiskNumber,
                _maxDiskNumber = maxDiskNumber,
                _baseName      = name,
            };

            // Console.WriteLine("ZSS: ForReading ({0})",
            //                    Path.GetFileName(zss.CurrentName));

            zss._SetReadStream();

            return(zss);
        }
        public static ZipSegmentedStream ForReading(string name,
                                                    uint initialDiskNumber,
                                                    uint maxDiskNumber)
        {
            ZipSegmentedStream zss = new ZipSegmentedStream()
                {
                    rwMode = RwMode.ReadOnly,
                    CurrentSegment = initialDiskNumber,
                    _maxDiskNumber = maxDiskNumber,
                    _baseName = name,
                };

            // Console.WriteLine("ZSS: ForReading ({0})",
            //                    Path.GetFileName(zss.CurrentName));

            zss._SetReadStream();

            return zss;
        }