1 | export declare const enum ImmediateConstants {
|
2 | MAX_SMI = 1073741823,
|
3 | MIN_SMI = -1073741824,
|
4 | SIGN_BIT = -536870913,
|
5 | MAX_INT = 536870911,
|
6 | MIN_INT = -536870912,
|
7 | FALSE_HANDLE = 0,
|
8 | TRUE_HANDLE = 1,
|
9 | NULL_HANDLE = 2,
|
10 | UNDEFINED_HANDLE = 3,
|
11 | ENCODED_FALSE_HANDLE = 0,
|
12 | ENCODED_TRUE_HANDLE = 1,
|
13 | ENCODED_NULL_HANDLE = 2,
|
14 | ENCODED_UNDEFINED_HANDLE = 3
|
15 | }
|
16 | export declare function isHandle(value: number): boolean;
|
17 | export declare function isNonPrimitiveHandle(value: number): boolean;
|
18 | export declare function constants(...values: unknown[]): unknown[];
|
19 | export declare function isSmallInt(value: number): boolean;
|
20 | export declare function encodeNegative(num: number): number;
|
21 | export declare function decodeNegative(num: number): number;
|
22 | export declare function encodePositive(num: number): number;
|
23 | export declare function decodePositive(num: number): number;
|
24 | export declare function encodeHandle(num: number): number;
|
25 | export declare function decodeHandle(num: number): number;
|
26 | export declare function encodeImmediate(num: number): number;
|
27 | export declare function decodeImmediate(num: number): number;
|
28 |
|
\ | No newline at end of file |