Table of Contents

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

long

TotalBytes

public readonly long TotalBytes

Field Value

long

Methods

ToRatio()

public double ToRatio()

Returns

double

Operators

operator +(ByteProgress, ByteProgress)

public static ByteProgress operator +(ByteProgress a, ByteProgress b)

Parameters

a ByteProgress

b ByteProgress

Returns

ByteProgress

operator -(ByteProgress, ByteProgress)

public static ByteProgress operator -(ByteProgress a, ByteProgress b)

Parameters

a ByteProgress

b ByteProgress

Returns

ByteProgress