UvEventStreamParser class final
Streaming UV event scanner with ESC-timeout compatibility.
This mirrors the key behavior of upstream TerminalReader.scanEvents:
- buffers incomplete sequences across reads
- defers emitting
ESC-prefixed sequences shorter than 3 bytes unlessexpired=true(escape timeout reached / EOF) - when
expired=true, allows the decoder to flush incomplete sequences asUnknownEvent - collapses bracketed paste start/end into a single
PasteEvent
Constructors
- UvEventStreamParser({EventDecoder? decoder})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasPending → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void -
flush(
) → List< Event> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseAll(
List< int> bytes, {bool expired = false}) → List<Event> - Parses input bytes and returns any decoded events.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited