Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

XtsStream.SetLength Method

Namespace: Rebex.Security
Assembly: Rebex.Security.dll

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
Stream.SetLength(Int64)
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.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies