C# Class RampUp.Buffers.IndexCalculator

The calculator for index of the segment and the offset within segment for the given index.
显示文件 Open project: Scooletz/RampUp Class Usage Examples

Public Methods

Method Description
IndexCalculator ( int segmentLength ) : System

Private Methods

Method Description
GetIndexInSegment ( long index ) : int
GetSegmentIndex ( long index ) : int

Method Details

IndexCalculator() public method

public IndexCalculator ( int segmentLength ) : System
segmentLength int
return System