DcsToken
Namespace: Hex1b.Tokens
Assembly: Hex1b.dll
Represents a Device Control String (DCS): ESC P ... ST
csharp
public sealed record DcsToken : AnsiToken, IEquatable<AnsiToken>, IEquatable<DcsToken>Inheritance
Implements
Constructors
DcsToken(string)
Represents a Device Control String (DCS): ESC P ... ST
Parameters:
Payload(String): The DCS content between the ESC P introducer and ST terminator.
csharp
public DcsToken(string Payload)Properties
Payload
The DCS content between the ESC P introducer and ST terminator.
Returns: String
csharp
public string Payload { get; init; }Remarks
The most common DCS use in Hex1b is Sixel graphics (ESC P q ... ST). We preserve the entire payload because: Sixel data can be large and complexFilters typically pass through or drop entirelyRe-parsing would be wasteful