Method | Description | |
---|---|---|
GetByteLength ( double size, FileSizeMeasurements type ) : long |
Converts a the size of a file in units (FileSizeMeasurements and double) into the number of bytes
|
|
GetFriendlySize ( double bytes ) : string |
Converts bytes into a user friendly string converted into larger units when desired.
|
public static GetByteLength ( double size, FileSizeMeasurements type ) : long | ||
size | double | |
type | FileSizeMeasurements | |
return | long |
public static GetFriendlySize ( double bytes ) : string | ||
bytes | double | The number of bytes |
return | string |