//
pkg.gl
Category
github.com/ironcore-dev/ceph-provider
internal
round
package
0.3.0
Repository:
https://github.com/ironcore-dev/ceph-provider.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
1
Files
30 SLOC
#
Functions
OffBytes
OffBytes converts roundoff the size 1.1Mib will be round off to 2Mib same for GiB size less than 1MiB will be round off to 1MiB.
#
Constants
GB
GB - GigaByte size.
GiB
GiB - GibiByte size.
KB
KB - KiloByte size.
KiB
KiB - KibiByte size.
MB
MB - MegaByte size.
MiB
MiB - MebiByte size.