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

Function clientEncodings

systemvm/agent/noVNC/core/rfb.js:3531–3542  ·  view source on GitHub ↗
(sock, encodings)

Source from the content-addressed store, hash-verified

3529 },
3530
3531 clientEncodings(sock, encodings) {
3532 sock.sQpush8(2); // msg-type
3533
3534 sock.sQpush8(0); // padding
3535
3536 sock.sQpush16(encodings.length);
3537 for (let i = 0; i < encodings.length; i++) {
3538 sock.sQpush32(encodings[i]);
3539 }
3540
3541 sock.flush();
3542 },
3543
3544 fbUpdateRequest(sock, incremental, x, y, w, h) {
3545 if (typeof(x) === "undefined") { x = 0; }

Callers

nothing calls this directly

Calls 4

sQpush8Method · 0.80
sQpush16Method · 0.80
sQpush32Method · 0.80
flushMethod · 0.45

Tested by

no test coverage detected