C# Class Qowaiv.IO.StreamSizeExtensions

Contains extensions for stream size.
Show file Open project: Corniel/Qowaiv

Public Methods

Method Description
Average ( this streamSizes ) : StreamSize

Computes the average of a sequence of stream sizes.

GetStreamSize ( this bytes ) : StreamSize

Gets the size of the byte array.

Sum ( this streamSizes ) : StreamSize

Computes the sum of a sequence of stream sizes.

Method Details

Average() public static method

Computes the average of a sequence of stream sizes.
public static Average ( this streamSizes ) : StreamSize
streamSizes this
return StreamSize

GetStreamSize() public static method

Gets the size of the byte array.
public static GetStreamSize ( this bytes ) : StreamSize
bytes this
return StreamSize

Sum() public static method

Computes the sum of a sequence of stream sizes.
public static Sum ( this streamSizes ) : StreamSize
streamSizes this
return StreamSize