Stream.length

long length() nothrow

Gets the length of the stream.

Returns

the length of the stream or %-1 if unknown.