blob: 001f40f2ab50def22effc07451e9c4804165bcea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}
|