Library / System / Runtime / Formatter
CLASS
Formatter
Auto-conversion text formatter (stdio-spec.md §4).
Fields 1
BinaryMode binaryModeConstructors 2
INIT()Default Formatter — binary args render as spaced hex.
INIT(BinaryMode mode)
Formatter with an explicit binary-rendering mode.
Methods 1
METHOD format(REFERENCE String tmpl, FormatArgument args...) RETURNS Stringreads
Render tmpl against args, substituting $1..$9, $$ (a
literal $) per stdio-spec.md §4.1, and $: (a literal :). A placeholder may carry a
format spec :<spec> (§4.4) — width / fill / align /
sign / type-letter — that is parsed and applied to the
rendered value.