コード例 #1
0
 // Token: 0x06000C18 RID: 3096 RVA: 0x0006B980 File Offset: 0x00069B80
 public StreamOnReadableDataStorage(ReadableDataStorage baseStorage, long start, long end)
 {
     if (baseStorage != null)
     {
         baseStorage.AddRef();
         this.baseStorage = baseStorage;
     }
     this.start = start;
     this.end   = end;
 }
コード例 #2
0
 // Token: 0x06000C19 RID: 3097 RVA: 0x0006B9A6 File Offset: 0x00069BA6
 private StreamOnReadableDataStorage(ReadableDataStorage baseStorage, long start, long end, long position)
 {
     if (baseStorage != null)
     {
         baseStorage.AddRef();
         this.baseStorage = baseStorage;
     }
     this.start    = start;
     this.end      = end;
     this.position = position;
 }
コード例 #3
0
ファイル: VirtualStream.cs プロジェクト: zerojuls/cms-3
        public StreamOnReadableDataStorage(ReadableDataStorage baseStorage, long start, long end)
        {
            InternalDebug.Assert(baseStorage != null || (start == 0 && end == 0));
            InternalDebug.Assert(start >= 0 && start <= end);

            if (baseStorage != null)
            {
                baseStorage.AddRef();
                this.baseStorage = baseStorage;
            }

            this.start = start;
            this.end   = end;
        }