Discover Packages
github.com/MichaelKinsy/PiG
internal
bytesize
package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Oct 5, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package bytesize parses the byte sizes PiG commands accept, such as 5GiB.
Parse reads a non-negative byte count with an optional unit: B, KB, MB, GB
(powers of 1000) or KiB, MiB, GiB (powers of 1024), in any letter case. A bare
number is bytes.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.