DoxigAlpha

Allocating

Maintains Writer state such that it writes to the unused capacity of an array list, filling it up completely before making a call through the vtable, causing a resize. Consequently, the same, optimized, non-generic machine code that uses std.Io.Reader, such as formatted printing, takes the hot paths when using this API.

When using this API, it is not necessary to call flush.

Fields of this type

Fields

#

Functions in this namespace

Functions

#
fromArrayList
Replaces `array_list` with empty, taking ownership of the memory.
toArrayList
Returns an array list that takes ownership of the allocated memory.