//
pkg.gl
Category
github.com/eluv-io/common-go
format
bytesize
package
1.0.33
Repository:
https://github.com/eluv-io/common-go.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
1
Files
267 SLOC
#
Functions
FromString
FromString is an alias for Parse().
MustParse
MustParse parses the given bytesize string into a bytesize spec, panicking in case of errors.
Parse
Parse parses the given bytesize string into a bytesize spec.
#
Constants
B
No description provided by the author
EB
No description provided by the author
GB
No description provided by the author
KB
No description provided by the author
MB
No description provided by the author
PB
No description provided by the author
TB
No description provided by the author
#
Variables
ErrBits
No description provided by the author
ErrInvalidFraction
No description provided by the author
#
Type aliases
HR
HR is the same as Spec, but producing a human readable format in the String() call.
Spec
Spec is a bytesize specification representing a size in bytes.