mapStorageBytesForUi

Converts a raw storage counter into a user-visible amount.

Return

Byte count that should be shown and aggregated by presentation state.

Author

Dmitriy Moroz

Parameters

bytes

Raw byte count returned by a platform filesystem or domain source.