Click or drag to resize
Cimbalino ToolkitZlibStreamSetLength Method
Sets the length of the current stream.

Namespace: Cimbalino.Toolkit.Compression
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public override void SetLength(
	long value
)

Parameters

value
Type: SystemInt64
The desired length of the current stream in bytes.
Exceptions
ExceptionCondition
IOExceptionAn I/O error occurs.
NotSupportedExceptionThe stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output.
ObjectDisposedExceptionMethods were called after the stream was closed.
Version Information

Portable

Supported in: 4.5

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also