DataSizeParsing.fromHumanToBytes

Parse a string i.e 10MiB to a value in bytes, supported suffixes are B, KiB..PiB and KB..PB

class DataSizeParsing
ulong
fromHumanToBytes
(
string input
)

Parameters

input string

string in the form ie 10MiB

Return Value

Type: ulong

ulong with the size in bytes based on the suffix

Meta