Crate kib

source ·
Expand description

§KiB

§Project

  • License: GNU Lesser General Public License, either version 3, or (at your option) any later version.
  • This project follows Semantic Versioning 2.0.0

§Features

This crate helps format bytes to KiB, MiB…

§Notes

Documentation is built with all features. Some of them are optional. If you see components from other crates, you can view source to see what features are required.

Modules§

Structs§

Enums§

Constants§

  • Crate code name
  • One EiB in bytes.
  • One GiB in bytes.
  • ID of this crate
  • One KiB in bytes.
  • One MiB in bytes.
  • Crate name
  • One PiB in bytes.
  • Crate release date (year/month/day)
  • Tag, which can be used for logging…
  • One TiB in bytes.
  • Crate version
  • One YiB in bytes.
  • One ZiB in bytes.

Functions§

  • Formats bytes into string.
  • Formats bytes into size and unit
  • Formats an integer, with underscore (_) used as digit grouping