Retracted
package
Version:
v2.3.5+incompatible
Opens a new window with list of versions in this module.
Published: Sep 12, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 17
Opens a new window with list of known importers.
Documentation
¶
Format wraps global Bytes's Format function.
Parse wraps global Bytes's Parse function.
New creates a Bytes instance.
Format formats bytes integer to human readable string.
For example, 31323 bytes will return 30.59KB.
Parse parses human readable bytes string to bytes integer.
For example, 6GB (6G is also valid) will return 6442450944.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.