XtsStream.SetLength Method
Namespace: Rebex.Security
Assembly: Rebex.Security.dll (version 7.0.9083)
SetLength(Int64)
Sets the length of the stream.
Declaration
public override void SetLength(long value)
Parameters
Type | Name | Description |
---|---|---|
Int64 | value | The desired length of the stream in bytes. |
Overrides
Exceptions
Type | Condition |
---|---|
IOException | An I/O error occurs. |
NotSupportedException | The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output. |
ObjectDisposedException | Methods were called after the stream was closed. |