Documentation
¶
Overview ¶
Package units parses byte sizes in the binary-suffix grammar a Function's memory hint and funcdctl backup plan's --size and --speed share (ADR-0223): an integer with an optional Ki, Mi, Gi or Ti suffix.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseBytes ¶
ParseBytes parses s ("4Gi", "512Mi", "1024") into bytes; (0, false) on an empty, negative, unparseable or overflowing value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.