Struct Range
Torrent piece range.
Implements
Inherited Members
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
public struct Range : IFormattable
Constructors
| Improve this Doc View SourceRange(Int64, Int64)
Initializes a new instance of the Range struct.
Declaration
public Range(long startIndex, long endIndex)
Parameters
Type | Name | Description |
---|---|---|
Int64 | startIndex | The start index. |
Int64 | endIndex | The end index. |
Properties
| Improve this Doc View SourceEndIndex
Gets the end index.
Declaration
public readonly long EndIndex { get; }
Property Value
Type | Description |
---|---|
Int64 | The end index. |
StartIndex
Gets the start index.
Declaration
public readonly long StartIndex { get; }
Property Value
Type | Description |
---|---|
Int64 | The start index. |
Methods
| Improve this Doc View SourceToString()
Returns a String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A String that represents this instance. |
Overrides
| Improve this Doc View SourceToString(String, IFormatProvider)
Returns a String that represents this instance.
Declaration
public string ToString(string format, IFormatProvider formatProvider)
Parameters
Type | Name | Description |
---|---|---|
String | format | The format. |
IFormatProvider | formatProvider | The format provider. |
Returns
Type | Description |
---|---|
String | A String that represents this instance. |