/// <summary>Gets the stream size of the current stream.</summary> public static StreamSize GetStreamSize(this Stream stream) { return(StreamSize.FromStream(stream)); }