node-opcua-status-code
Advanced tools
Comparing version 2.0.0-alpha.10 to 2.0.0-alpha.12
/** | ||
* @module node-opcua-status-code | ||
*/ | ||
import { BinaryStream } from "node-opcua-binary-stream"; | ||
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
export declare const extraStatusCodeBits: any; | ||
@@ -49,3 +49,3 @@ /** | ||
} | ||
export declare function encodeStatusCode(statusCode: StatusCode | ConstantStatusCode, stream: BinaryStream): void; | ||
export declare function encodeStatusCode(statusCode: StatusCode | ConstantStatusCode, stream: OutputBinaryStream): void; | ||
export declare function getStatusCodeFromCode(code: number): any; | ||
@@ -52,0 +52,0 @@ export declare function decodeStatusCode(stream: BinaryStream): any; |
{ | ||
"name": "node-opcua-status-code", | ||
"version": "2.0.0-alpha.10", | ||
"version": "2.0.0-alpha.12", | ||
"description": "pure nodejs OPCUA SDK - module -status-code", | ||
@@ -17,3 +17,3 @@ "main": "./dist/opcua_status_code.js", | ||
"devDependencies": { | ||
"node-opcua-binary-stream": "^2.0.0-alpha.10", | ||
"node-opcua-binary-stream": "^2.0.0-alpha.12", | ||
"should": "13.2.3" | ||
@@ -36,3 +36,3 @@ }, | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "a4fd47cebc405a37470fa015e98148ec212a8c29" | ||
"gitHead": "61699a99c75c631388f2e8d8e33eb209649c5eac" | ||
} |
@@ -9,3 +9,3 @@ /** | ||
import assert from "node-opcua-assert"; | ||
import { BinaryStream } from "node-opcua-binary-stream"; | ||
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
import { StatusCodes } from "node-opcua-constants"; | ||
@@ -17,2 +17,3 @@ | ||
} | ||
export const extraStatusCodeBits: any = { | ||
@@ -234,3 +235,3 @@ | ||
export function encodeStatusCode(statusCode: StatusCode | ConstantStatusCode, stream: BinaryStream) { | ||
export function encodeStatusCode(statusCode: StatusCode | ConstantStatusCode, stream: OutputBinaryStream) { | ||
stream.writeUInt32(statusCode.value); | ||
@@ -279,3 +280,3 @@ } | ||
private readonly _base: StatusCode; | ||
private _extraBits: number; | ||
private _extraBits: number; | ||
@@ -282,0 +283,0 @@ constructor(options: { _base: StatusCode }) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41123
22443