OutputStream.Length

OutputStream.Length property

获取包装输出流的字节长度。

public override long Length { get; }

也可以看看