sizefmt

This small library allows to easily format file sizes in a human-readable format.

Members

Aliases

Size
alias Size = SizeBase!(Config.init)

Size struct with default options.

Enums

PrefixUse
enum PrefixUse

The use of prefix when formatting long size values.

Structs

Config
struct Config

Configuration of size format.

SizeBase
struct SizeBase(Config config)

Wraps a size value of type ulong which is formatted appropriately when output as text.

Meta

Authors

Nicolas Sicard