RecyclableMemoryStream.SetLength method
December 6, 2023 · View on GitHub
Sets the length of the stream.
public override void SetLength(long value)
Exceptions
| exception | condition |
|---|---|
| ArgumentOutOfRangeException | value is negative or larger than MaximumStreamCapacity. |
| ObjectDisposedException | Object has been disposed. |
See Also
- class RecyclableMemoryStream
- namespace Microsoft.IO