Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions AnsiTextLite.toSink

1
2
3
4
5
6
7
module juptune.core.util.ansi;

void toSink(
    Sink
)(
    Sink sink
);

Documentation

Outputs in order: The start sequence (`.toFullStartSequence`), the output text (`.text`), and the end sequence (`.toFullEndSequence`) into the given sink.

This function by itself does not allocate memory.

This function will infer attributes, so as to be used in whatever attribute-souped environment your sink supports.

$(B Please read the warnings described in .toRange) TLDR; don't persist the slices given to the sink under any circumstance. You must copy the data as soon as you get it.

Params

ON THIS PAGE