/// <summary>Gets the stream size of the current stream.</summary> public static StreamSize GetStreamSize(this Stream stream) { return(StreamSize.FromStream(stream)); }
/// <summary>Gets the size of the byte array.</summary> public static StreamSize GetStreamSize(this byte[] bytes) { return(StreamSize.FromByteArray(bytes)); }
/// <summary>Gets the size of the current file.</summary> public static StreamSize GetStreamSize(this FileInfo fileInfo) { return(StreamSize.FromFileInfo(fileInfo)); }
partial void OnReadXml(StreamSize other);