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

Method rQshiftBytes

systemvm/agent/noVNC/core/websock.js:137–144  ·  view source on GitHub ↗
(len, copy=true)

Source from the content-addressed store, hash-verified

135 }
136
137 rQshiftBytes(len, copy=true) {
138 this._rQi += len;
139 if (copy) {
140 return this._rQ.slice(this._rQi - len, this._rQi);
141 } else {
142 return this._rQ.subarray(this._rQi - len, this._rQi);
143 }
144 }
145
146 rQshiftTo(target, len) {
147 // TODO: make this just use set with views when using a ArrayBuffer to store the rQ

Callers 15

rQshiftStrMethod · 0.95
_negotiateSecurityMethod · 0.80
_negotiateStdVNCAuthMethod · 0.80
_negotiateARDAuthMethod · 0.80
_handleServerCutTextMethod · 0.80
_handleCursorMethod · 0.80
decodeRectMethod · 0.80
decodeRectMethod · 0.80
decodeRectMethod · 0.80
decodeRectMethod · 0.80

Calls 1

sliceMethod · 0.80

Tested by

no test coverage detected