Method GetChunkLength
GetChunkLength(int)
Gets the length of a chunk in bytes: ChunkSize, or the rest of the file for the last chunk.
Declaration
public int GetChunkLength(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index of the chunk. |
Returns
| Type | Description |
|---|---|
| int |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException |
|