Converts an Int representation of bytes to a Capacity.
Converts a Long representation of bytes to a Capacity.