Returns a file size in bytes from a humanly readable string Note: b and B are both parsed as bytes and not as bit or byte.
b
B
file size in human-readable format
for backwards compatibility this allows values to be base 2 (so 2KB means 2048 bytes instead of 2000 bytes)
or null if string could not be parsed
Returns a file size in bytes from a humanly readable string Note:
b
andB
are both parsed as bytes and not as bit or byte.