mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
spice-html5 updated.
This commit is contained in:
parent
12c80c5021
commit
b05a252d7c
36 changed files with 1356 additions and 1415 deletions
8
static/js/spice-html5/spicedataview.js
Normal file → Executable file
8
static/js/spice-html5/spicedataview.js
Normal file → Executable 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue