mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-15 19:42:04 +08:00
完善虚拟机连接
This commit is contained in:
15
VM/novnc/core/util/int.js
Normal file
15
VM/novnc/core/util/int.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* noVNC: HTML5 VNC client
|
||||
* Copyright (C) 2020 The noVNC Authors
|
||||
* Licensed under MPL 2.0 (see LICENSE.txt)
|
||||
*
|
||||
* See README.md for usage and integration instructions.
|
||||
*/
|
||||
|
||||
export function toUnsigned32bit(toConvert) {
|
||||
return toConvert >>> 0;
|
||||
}
|
||||
|
||||
export function toSigned32bit(toConvert) {
|
||||
return toConvert | 0;
|
||||
}
|
||||
Reference in New Issue
Block a user