<PackageReference Include="Relativity.Server.Import.SDK" Version="24000.1.0" />

ByteSize

Represents a byte size value.
public const long BitsInByte = 8

public const string BitSymbol = "b"

public const long BytesInGigaByte = 1073741824

public const long BytesInKiloByte = 1024

public const long BytesInMegaByte = 1048576

public const long BytesInPetaByte = 1125899906842624

public const long BytesInTeraByte = 1099511627776

public const string ByteSymbol = "B"

public const string GigaByteSymbol = "GB"

public const string KiloByteSymbol = "KB"

public const string MegaByteSymbol = "MB"

public const string PetaByteSymbol = "PB"

public const string TeraByteSymbol = "TB"

public long Bits { get; }

public double Bytes { get; }

public double GigaBytes { get; }

public double KiloBytes { get; }

public string LargestWholeNumberSymbol { get; }

public double LargestWholeNumberValue { get; }

public double MegaBytes { get; }

public double PetaBytes { get; }

public double TeraBytes { get; }

public ByteSize(double byteSize)

Initializes a new instance of the ByteSize struct.

public static ByteSize FromBits(long value)

public static ByteSize FromBytes(double value)

public static ByteSize FromGigaBytes(double value)

public static ByteSize FromKiloBytes(double value)

public static ByteSize FromMegaBytes(double value)

public static ByteSize FromPetaBytes(double value)

public static ByteSize FromTeraBytes(double value)

public static ByteSize op_Addition(ByteSize b1, ByteSize b2)

public static ByteSize op_Decrement(ByteSize b)

public static bool op_Equality(ByteSize b1, ByteSize b2)

public static bool op_GreaterThan(ByteSize b1, ByteSize b2)

public static bool op_GreaterThanOrEqual(ByteSize b1, ByteSize b2)

public static ByteSize op_Increment(ByteSize b)

public static bool op_Inequality(ByteSize b1, ByteSize b2)

public static bool op_LessThan(ByteSize b1, ByteSize b2)

public static bool op_LessThanOrEqual(ByteSize b1, ByteSize b2)

public static ByteSize Parse(string s)

public static bool TryParse(string s, out ByteSize result)

public int CompareTo(ByteSize other)

public bool Equals(ByteSize value)

public string ToString(string format)