Memory Block StreamSet Length Method
Set the length of the stream.
Definition
Namespace: MimeKit.IO
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public override void SetLength(
long value
)Parameters
- value Int64
- The desired length of the stream in bytes.
Remarks
Sets the length of the stream.
Exceptions
| ArgumentOutOfRangeException | value is out of range. |
| ObjectDisposedException | The stream has been disposed. |