Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Sets the length of the current stream to the specified value.

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public override void SetLength(
	long value
)

Parameters

value
Type: System..::..Int64
The value at which to set the length.

Exceptions

ExceptionCondition
System..::..NotSupportedException The current stream is not resizable and value is larger than the current capacity or the current stream does not support writing.
System..::..ArgumentOutOfRangeException Value is negative or is greater than the maximum length of the stream, where the maximum length is (System.Int32.MaxValue - origin), and origin is the index into the underlying buffer at which the stream starts.

See Also