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

spice-html5 updated.

This commit is contained in:
catborise 2018-08-08 14:00:35 +03:00
parent 12c80c5021
commit b05a252d7c
36 changed files with 1356 additions and 1415 deletions

8
static/js/spice-html5/spicedataview.js Normal file → Executable file
View file

@ -20,10 +20,10 @@
/*----------------------------------------------------------------------------
** SpiceDataView
** FIXME FIXME
** FIXME FIXME
** This is used because Firefox does not have DataView yet.
** We should use DataView if we have it, because it *has* to
** be faster than this code
** We should use DataView if we have it, because it *has* to
** be faster than this code
**--------------------------------------------------------------------------*/
function SpiceDataView(buffer, byteOffset, byteLength)
{
@ -63,7 +63,7 @@ SpiceDataView.prototype = {
high = 2;
}
return (this.getUint16(byteOffset + high, littleEndian) << 16) |
return (this.getUint16(byteOffset + high, littleEndian) << 16) |
this.getUint16(byteOffset + low, littleEndian);
},
getUint64: function (byteOffset, littleEndian)