コード例 #1
0
ファイル: FileSegment.cs プロジェクト: ycccq/TailBlazer
 public FileSegment(FileSegment previous, long end)
 {
     Index = previous.Index;
     Start = previous.Start;
     End   = end;
     Type  = previous.Type;
     Key   = previous.Key;
 }
コード例 #2
0
ファイル: FileSegment.cs プロジェクト: ycccq/TailBlazer
 public FileSegment(int index, long start, long end, FileSegmentType type)
 {
     Index = index;
     Start = start;
     End   = end;
     Type  = type;
     Key   = new FileSegmentKey(index, type);
 }