Method Truncate
Truncate(int)
Truncate the stream by setting Length to the specified value. If Position is greater than the specified value, it will be moved as well.
Declaration
public void Truncate(int where = -1)
Parameters
Type | Name | Description |
---|---|---|
int | where | The value to truncate to. If -1, the current position will be used. |