MCPcopy
hub / github.com/xtermjs/xterm.js / put

Method put

src/common/parser/DcsParser.ts:81–89  ·  view source on GitHub ↗
(data: Uint32Array, start: number, end: number)

Source from the content-addressed store, hash-verified

79 }
80
81 public put(data: Uint32Array, start: number, end: number): void {
82 if (!this._active.length) {
83 this._handlerFb(this._ident, 'PUT', utf32ToString(data, start, end));
84 } else {
85 for (let j = this._active.length - 1; j >= 0; j--) {
86 this._active[j].put(data, start, end);
87 }
88 }
89 }
90
91 public unhook(success: boolean, promiseResult: boolean = true): void | Promise<boolean> {
92 if (!this._active.length) {

Callers

nothing calls this directly

Calls 2

utf32ToStringFunction · 0.90
putMethod · 0.65

Tested by

no test coverage detected