node-opcua-basic-types 2.97.0 → 2.98.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/array.d.ts +16 -16
- package/dist/array.js +44 -44
- package/dist/attributeIds.d.ts +34 -34
- package/dist/attributeIds.js +48 -48
- package/dist/boolean.d.ts +9 -9
- package/dist/boolean.js +33 -33
- package/dist/byte_string.d.ts +11 -11
- package/dist/byte_string.js +36 -36
- package/dist/data_type.d.ts +31 -31
- package/dist/data_type.js +35 -35
- package/dist/date_time.d.ts +6 -6
- package/dist/date_time.js +20 -20
- package/dist/floats.d.ts +16 -16
- package/dist/floats.js +80 -80
- package/dist/guid.d.ts +9 -9
- package/dist/guid.js +121 -121
- package/dist/index.d.ts +19 -19
- package/dist/index.js +33 -33
- package/dist/integers.d.ts +66 -66
- package/dist/integers.js +308 -308
- package/dist/locale_id.d.ts +9 -9
- package/dist/locale_id.js +18 -18
- package/dist/node_id.d.ts +9 -9
- package/dist/node_id.js +188 -188
- package/dist/round_to_float.d.ts +1 -1
- package/dist/round_to_float.js +26 -26
- package/dist/status_code.d.ts +4 -4
- package/dist/status_code.js +20 -20
- package/dist/string.d.ts +12 -12
- package/dist/string.js +30 -30
- package/dist/utils.d.ts +12 -12
- package/dist/utils.js +19 -19
- package/package.json +17 -13
- package/nyc.config.js +0 -16
package/dist/integers.d.ts
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
2
|
-
export declare function isValidUInt16(value: number): boolean;
|
|
3
|
-
export type UInt8 = number;
|
|
4
|
-
export type UInt16 = number;
|
|
5
|
-
export type UInt32 = number;
|
|
6
|
-
export type UInt64 = UInt32[];
|
|
7
|
-
export type Int8 = number;
|
|
8
|
-
export type Int16 = number;
|
|
9
|
-
export type Int32 = number;
|
|
10
|
-
export type Int64 = UInt32[];
|
|
11
|
-
export type Byte = UInt8;
|
|
12
|
-
export type SByte = Int8;
|
|
13
|
-
export declare function randomUInt16(): UInt16;
|
|
14
|
-
export declare function encodeUInt16(value: UInt16, stream: OutputBinaryStream): void;
|
|
15
|
-
export declare function decodeUInt16(stream: BinaryStream, value?: number): UInt16;
|
|
16
|
-
export declare function isValidInt16(value: number): boolean;
|
|
17
|
-
export declare function randomInt16(): Int16;
|
|
18
|
-
export declare function encodeInt16(value: Int16, stream: OutputBinaryStream): void;
|
|
19
|
-
export declare function decodeInt16(stream: BinaryStream, value?: number): Int16;
|
|
20
|
-
export declare function isValidInt32(value: number): boolean;
|
|
21
|
-
export declare function randomInt32(): Int32;
|
|
22
|
-
export declare function encodeInt32(value: Int32, stream: OutputBinaryStream): void;
|
|
23
|
-
export declare function decodeInt32(stream: BinaryStream, value?: number): Int32;
|
|
24
|
-
export declare function isValidUInt32(value: number): boolean;
|
|
25
|
-
export declare function randomUInt32(): UInt32;
|
|
26
|
-
export declare function encodeUInt32(value: UInt32, stream: OutputBinaryStream): void;
|
|
27
|
-
export declare function decodeUInt32(stream: BinaryStream, value?: number): UInt32;
|
|
28
|
-
export declare function isValidInt8(value: number): boolean;
|
|
29
|
-
export declare function randomInt8(): Int8;
|
|
30
|
-
export declare function encodeInt8(value: Int8, stream: OutputBinaryStream): void;
|
|
31
|
-
export declare function decodeInt8(stream: BinaryStream, value?: number): Int8;
|
|
32
|
-
export declare const isValidSByte: typeof isValidInt8;
|
|
33
|
-
export declare const randomSByte: typeof randomInt8;
|
|
34
|
-
export declare const encodeSByte: typeof encodeInt8;
|
|
35
|
-
export declare const decodeSByte: typeof decodeInt8;
|
|
36
|
-
export declare function isValidUInt8(value: number): boolean;
|
|
37
|
-
export declare function randomUInt8(): UInt8;
|
|
38
|
-
export declare function encodeUInt8(value: UInt8, stream: OutputBinaryStream): void;
|
|
39
|
-
export declare function decodeUInt8(stream: BinaryStream, value?: number): UInt8;
|
|
40
|
-
export declare const isValidByte: typeof isValidUInt8;
|
|
41
|
-
export declare const randomByte: typeof randomUInt8;
|
|
42
|
-
export declare const encodeByte: typeof encodeUInt8;
|
|
43
|
-
export declare const decodeByte: typeof decodeUInt8;
|
|
44
|
-
export declare function isValidUInt64(value?: number | number[]): boolean;
|
|
45
|
-
export declare function randomUInt64(): UInt64;
|
|
46
|
-
export declare function encodeUInt64(value: UInt64 | number, stream: OutputBinaryStream): void;
|
|
47
|
-
export declare function decodeUInt64(stream: BinaryStream, value?: UInt64): UInt64;
|
|
48
|
-
export declare function constructInt64(high: UInt32, low: UInt32): Int64;
|
|
49
|
-
export declare function coerceUInt64(value: number | UInt64 | Int32 | string | null): UInt64;
|
|
50
|
-
export declare function randomInt64(): Int64;
|
|
51
|
-
export declare const coerceInt64: typeof coerceUInt64;
|
|
52
|
-
export declare const isValidInt64: typeof isValidUInt64;
|
|
53
|
-
export declare const encodeInt64: typeof encodeUInt64;
|
|
54
|
-
export declare const decodeInt64: typeof decodeUInt64;
|
|
55
|
-
export declare function coerceInt8(value: number | string | null): Int8;
|
|
56
|
-
export declare function coerceUInt8(value: number | string | null): UInt8;
|
|
57
|
-
export declare function coerceByte(value: number | string | null): UInt8;
|
|
58
|
-
export declare function coerceSByte(value: number | string | null): Int8;
|
|
59
|
-
export declare function coerceUInt16(value: number | string | null): UInt16;
|
|
60
|
-
export declare function coerceInt16(value: number | string | null): Int16;
|
|
61
|
-
interface EnumItemLike {
|
|
62
|
-
value: number;
|
|
63
|
-
}
|
|
64
|
-
export declare function coerceUInt32(value: null | string | number | EnumItemLike): UInt32;
|
|
65
|
-
export declare function coerceInt32(value: null | Int64 | UInt64 | number | string): Int32;
|
|
66
|
-
export {};
|
|
1
|
+
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream";
|
|
2
|
+
export declare function isValidUInt16(value: number): boolean;
|
|
3
|
+
export type UInt8 = number;
|
|
4
|
+
export type UInt16 = number;
|
|
5
|
+
export type UInt32 = number;
|
|
6
|
+
export type UInt64 = UInt32[];
|
|
7
|
+
export type Int8 = number;
|
|
8
|
+
export type Int16 = number;
|
|
9
|
+
export type Int32 = number;
|
|
10
|
+
export type Int64 = UInt32[];
|
|
11
|
+
export type Byte = UInt8;
|
|
12
|
+
export type SByte = Int8;
|
|
13
|
+
export declare function randomUInt16(): UInt16;
|
|
14
|
+
export declare function encodeUInt16(value: UInt16, stream: OutputBinaryStream): void;
|
|
15
|
+
export declare function decodeUInt16(stream: BinaryStream, value?: number): UInt16;
|
|
16
|
+
export declare function isValidInt16(value: number): boolean;
|
|
17
|
+
export declare function randomInt16(): Int16;
|
|
18
|
+
export declare function encodeInt16(value: Int16, stream: OutputBinaryStream): void;
|
|
19
|
+
export declare function decodeInt16(stream: BinaryStream, value?: number): Int16;
|
|
20
|
+
export declare function isValidInt32(value: number): boolean;
|
|
21
|
+
export declare function randomInt32(): Int32;
|
|
22
|
+
export declare function encodeInt32(value: Int32, stream: OutputBinaryStream): void;
|
|
23
|
+
export declare function decodeInt32(stream: BinaryStream, value?: number): Int32;
|
|
24
|
+
export declare function isValidUInt32(value: number): boolean;
|
|
25
|
+
export declare function randomUInt32(): UInt32;
|
|
26
|
+
export declare function encodeUInt32(value: UInt32, stream: OutputBinaryStream): void;
|
|
27
|
+
export declare function decodeUInt32(stream: BinaryStream, value?: number): UInt32;
|
|
28
|
+
export declare function isValidInt8(value: number): boolean;
|
|
29
|
+
export declare function randomInt8(): Int8;
|
|
30
|
+
export declare function encodeInt8(value: Int8, stream: OutputBinaryStream): void;
|
|
31
|
+
export declare function decodeInt8(stream: BinaryStream, value?: number): Int8;
|
|
32
|
+
export declare const isValidSByte: typeof isValidInt8;
|
|
33
|
+
export declare const randomSByte: typeof randomInt8;
|
|
34
|
+
export declare const encodeSByte: typeof encodeInt8;
|
|
35
|
+
export declare const decodeSByte: typeof decodeInt8;
|
|
36
|
+
export declare function isValidUInt8(value: number): boolean;
|
|
37
|
+
export declare function randomUInt8(): UInt8;
|
|
38
|
+
export declare function encodeUInt8(value: UInt8, stream: OutputBinaryStream): void;
|
|
39
|
+
export declare function decodeUInt8(stream: BinaryStream, value?: number): UInt8;
|
|
40
|
+
export declare const isValidByte: typeof isValidUInt8;
|
|
41
|
+
export declare const randomByte: typeof randomUInt8;
|
|
42
|
+
export declare const encodeByte: typeof encodeUInt8;
|
|
43
|
+
export declare const decodeByte: typeof decodeUInt8;
|
|
44
|
+
export declare function isValidUInt64(value?: number | number[]): boolean;
|
|
45
|
+
export declare function randomUInt64(): UInt64;
|
|
46
|
+
export declare function encodeUInt64(value: UInt64 | number, stream: OutputBinaryStream): void;
|
|
47
|
+
export declare function decodeUInt64(stream: BinaryStream, value?: UInt64): UInt64;
|
|
48
|
+
export declare function constructInt64(high: UInt32, low: UInt32): Int64;
|
|
49
|
+
export declare function coerceUInt64(value: number | UInt64 | Int32 | string | null): UInt64;
|
|
50
|
+
export declare function randomInt64(): Int64;
|
|
51
|
+
export declare const coerceInt64: typeof coerceUInt64;
|
|
52
|
+
export declare const isValidInt64: typeof isValidUInt64;
|
|
53
|
+
export declare const encodeInt64: typeof encodeUInt64;
|
|
54
|
+
export declare const decodeInt64: typeof decodeUInt64;
|
|
55
|
+
export declare function coerceInt8(value: number | string | null): Int8;
|
|
56
|
+
export declare function coerceUInt8(value: number | string | null): UInt8;
|
|
57
|
+
export declare function coerceByte(value: number | string | null): UInt8;
|
|
58
|
+
export declare function coerceSByte(value: number | string | null): Int8;
|
|
59
|
+
export declare function coerceUInt16(value: number | string | null): UInt16;
|
|
60
|
+
export declare function coerceInt16(value: number | string | null): Int16;
|
|
61
|
+
interface EnumItemLike {
|
|
62
|
+
value: number;
|
|
63
|
+
}
|
|
64
|
+
export declare function coerceUInt32(value: null | string | number | EnumItemLike): UInt32;
|
|
65
|
+
export declare function coerceInt32(value: null | Int64 | UInt64 | number | string): Int32;
|
|
66
|
+
export {};
|