AnsiTextStack

A basic implementation using a static amount of stack memory.

Sinks should keep in mind that they're being passed a slice to stack memory, so should not persist slices outside of their .put function, they must instead make a copy of the data.

This implementation will fail an assert if the user attempts to push more data into it than it can handle.

alias AnsiTextStack(size_t Capacity) = AnsiText!(AnsiTextStackImplementation!Capacity)

Parameters

Capacity

The amount of characters to use on the stack.

Meta