## FileStream::SetLength method


Sets the length of the stream represented by the current object.

```cpp
void System::IO::FileStream::SetLength(int64_t value) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | int64_t | The length in bytes to set. |

## See Also

* Class [FileStream](../)
* Namespace [System::IO](../../)
* Library [Aspose.PUB for C++](../../../)
