BinaryStreamStreamLength Property

When overridden in a derived class, gets the length in bytes of the stream.

Definition

Namespace: SnapDB.IO
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public override long Length { get; }

Return Value

Int64
A long value representing the length of the stream in bytes.

Exceptions

NotSupportedExceptionA class derived from Stream does not support seeking.
ObjectDisposedExceptionMethods were called after the stream was closed.

See Also