SizeBase.toString

Formats the size according to the format fmt, automatically choosing the prefix and performing the unit conversion.

The size is formatted as a floating point value, so fmt has to be a floating-point-value format specification (s, f, F, e, E, g, G, a or A). But when the unit is just bytes, it is formatted as an integer.

struct SizeBase(Config config)
const
void
toString
(
scope void delegate
(
const(char)[]
)
sink
,
FormatSpec!char fmt
)

Meta