Struct ByteProgress
Namespace: CmlLib.Core
Assembly: CmlLib.Core.dll
public readonly struct ByteProgress
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
ByteProgress(long, long)
public ByteProgress(long totalBytes, long progressedBytes)
Parameters
totalBytes long
progressedBytes long
Fields
ProgressedBytes
public readonly long ProgressedBytes
Field Value
TotalBytes
public readonly long TotalBytes
Field Value
Methods
ToRatio()
public double ToRatio()
Returns
Operators
operator +(ByteProgress, ByteProgress)
public static ByteProgress operator +(ByteProgress a, ByteProgress b)
Parameters
Returns
operator -(ByteProgress, ByteProgress)
public static ByteProgress operator -(ByteProgress a, ByteProgress b)