MemoryTemplate<T>
Represents generic template for buffer rendering.
Gets original template passed to this object during construction.
Initializes a new pre-compiled template.
public void Render<TConsumer>(TConsumer consumer) where TConsumer : IReadOnlySpanConsumer<T>, IConsumer<int>
Replaces all placeholders in the template with custom content.
public void Render<TWriter>(TWriter output, Action<int, TWriter> rewriter) where TWriter : IBufferWriter<T>
Replaces all placeholders in the template with custom content.
Replaces all placeholders in the template with custom content.