MCPcopy Index your code
hub / github.com/xtermjs/xterm.js / put

Method put

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

Source from the content-addressed store, hash-verified

157 }
158
159 public put(data: Uint32Array, start: number, end: number): void {
160 if (this._hitLimit) {
161 return;
162 }
163 this._data += utf32ToString(data, start, end);
164 if (this._data.length > PAYLOAD_LIMIT) {
165 this._data = '';
166 this._hitLimit = true;
167 }
168 }
169
170 public unhook(success: boolean): boolean | Promise<boolean> {
171 let ret: boolean | Promise<boolean> = false;

Callers

nothing calls this directly

Calls 1

utf32ToStringFunction · 0.90

Tested by

no test coverage detected