1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Update spice-html5

This commit is contained in:
catborise 2020-01-23 15:49:43 +03:00
parent 34394c2b5e
commit 562fe5c3dc
36 changed files with 59278 additions and 1325 deletions

View file

@ -22,6 +22,8 @@
** crc logic from rfc2083 ported to Javascript
**--------------------------------------------------------------------------*/
import { SpiceDataView } from './spicedataview.js';
var rfc2083_crc_table = Array(256);
var rfc2083_crc_table_computed = 0;
/* Make the table for a fast CRC. */
@ -254,3 +256,7 @@ function create_rgba_png(width, height, bytes)
return "%89PNG%0D%0A%1A%0A" + str;
}
export {
create_rgba_png,
};