MCPcopy Create free account
hub / github.com/apache/cloudstack / setInput

Method setInput

systemvm/agent/noVNC/core/inflator.js:21–34  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

19 }
20
21 setInput(data) {
22 if (!data) {
23 //FIXME: flush remaining data.
24 /* eslint-disable camelcase */
25 this.strm.input = null;
26 this.strm.avail_in = 0;
27 this.strm.next_in = 0;
28 } else {
29 this.strm.input = data;
30 this.strm.avail_in = this.strm.input.length;
31 this.strm.next_in = 0;
32 /* eslint-enable camelcase */
33 }
34 }
35
36 inflate(expected) {
37 // resize our output buffer if it's too small

Callers 6

_handleServerCutTextMethod · 0.80
decodeRectMethod · 0.80
decodeRectMethod · 0.80
_copyFilterMethod · 0.80
_paletteFilterMethod · 0.80
_gradientFilterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected