JavaScript 65.5%
Python 17.8%
CSS 13%
HTML 3.7%
1/*2 * noVNC: HTML5 VNC client3 * Copyright (C) 2019 The noVNC authors4 * Licensed under MPL 2.0 (see LICENSE.txt)5 *6 * See README.md for usage and integration instructions.7 *8 */910import TightDecoder from './tight.js';1112export default class TightPNGDecoder extends TightDecoder {13 _pngRect(x, y, width, height, sock, display, depth) {14 let data = this._readData(sock);15 if (data === null) {16 return false;17 }1819 display.imageRect(x, y, width, height, "image/png", data);2021 return true;22 }2324 _basicRect(ctl, x, y, width, height, sock, display, depth) {25 throw new Error("BasicCompression received in TightPNG rect");26 }27}28