(x, y, width, height, sock, display, depth)
| 83 | } |
| 84 | |
| 85 | _jpegRect(x, y, width, height, sock, display, depth) { |
| 86 | let data = this._readData(sock); |
| 87 | if (data === null) { |
| 88 | return false; |
| 89 | } |
| 90 | |
| 91 | display.imageRect(x, y, width, height, "image/jpeg", data); |
| 92 | |
| 93 | return true; |
| 94 | } |
| 95 | |
| 96 | _pngRect(x, y, width, height, sock, display, depth) { |
| 97 | throw new Error("PNG received in standard Tight rect"); |
no test coverage detected