module

VT::BufferedHandler

Inherits VT::UTF8 < VT::BaseHandler < VT::Handler

Instance methods

apc_dispatch(payload : String, overflow : Bool)

Fired with a completely assembled string payload after an APC sequence completes.

Source
apc_end

Fired when an APC payload is finalized.

Source
apc_put(char : UInt8)

Fired for each byte in an APC payload.

Source
apc_start

Fired at the beginning of an Application Program Command (APC) payload.

Source
dcs_dispatch(char : UInt8, params : Array(Parameter), intermediates : Array(UInt8), ignore : Bool, payload : String, overflow : Bool)

Fired with a completely assembled string payload after a DCS sequence completes.

Source
hook(char : UInt8, params : Slice(Parameter), intermediates : Slice(UInt8), ignore : Bool)

Fired at the beginning of a Device Control String (DCS) payload.

Source
osc_dispatch(payload : String, overflow : Bool)

Fired with a completely assembled string payload after an OSC sequence completes.

Source
osc_end

Fired when an OSC payload is finalized.

Source
osc_put(char : UInt8)

Fired for each byte in an OSC payload.

Source
osc_start

Fired at the beginning of an Operating System Command (OSC) payload.

Source
payload_limit

The maximum size in bytes that the handler will buffer for a single string payload before truncating and setting the overflow flag to true. Defaults to 1MB to prevent memory exhaustion.

Source
payload_limit=(payload_limit : Int32)

The maximum size in bytes that the handler will buffer for a single string payload before truncating and setting the overflow flag to true. Defaults to 1MB to prevent memory exhaustion.

Source
pm_dispatch(payload : String, overflow : Bool)

Fired with a completely assembled string payload after a PM sequence completes.

Source
pm_end

Fired when a PM payload is finalized.

Source
pm_put(char : UInt8)

Fired for each byte in a PM payload.

Source
pm_start

Fired at the beginning of a Privacy Message (PM) payload.

Source
put(char : UInt8)

Fired for each byte in a DCS payload.

Source
sos_dispatch(payload : String, overflow : Bool)

Fired with a completely assembled string payload after a SOS sequence completes.

Source
sos_end

Fired when a SOS payload is finalized.

Source
sos_put(char : UInt8)

Fired for each byte in a SOS payload.

Source
sos_start

Fired at the beginning of a Start of String (SOS) payload.

Source
unhook

Fired when a DCS payload is finalized.

Source