-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathByteSizeUnit.cs
More file actions
46 lines (44 loc) · 1010 Bytes
/
ByteSizeUnit.cs
File metadata and controls
46 lines (44 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System.ComponentModel;
namespace BytecodeApi.Mathematics;
/// <summary>
/// Gets the unit that represents a <see cref="ByteSize" /> value.
/// <para>Example: bytes, KB, MB, GB, TB, PB, EB</para>
/// </summary>
public enum ByteSizeUnit
{
/// <summary>
/// Specifies the bytes unit (bytes).
/// </summary>
[Description("bytes")]
Byte,
/// <summary>
/// Specifies the kilobytes unit (KB).
/// </summary>
[Description("KB")]
KiloByte,
/// <summary>
/// Specifies the megabytes unit (MB).
/// </summary>
[Description("MB")]
MegaByte,
/// <summary>
/// Specifies the gigabytes unit (GB).
/// </summary>
[Description("GB")]
GigaByte,
/// <summary>
/// Specifies the terabytes unit (TB).
/// </summary>
[Description("TB")]
TeraByte,
/// <summary>
/// Specifies the petabytes unit (PB).
/// </summary>
[Description("PB")]
PetaByte,
/// <summary>
/// Specifies the exabytes unit (EB).
/// </summary>
[Description("EB")]
ExaByte
}