std:std.stream.Stream.Length

Property Length:Int

Current stream length.

In the case of non-seekable streams, Length is the number of bytes that can be read from the stream without 'blocking'.