node-opcua-data-value
Advanced tools
Comparing version 2.0.0-alpha.11 to 2.0.0-alpha.12
@@ -1,2 +0,2 @@ | ||
import { BinaryStream } from "node-opcua-binary-stream"; | ||
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
import { BaseUAObject, StructuredTypeSchema } from "node-opcua-factory"; | ||
@@ -9,3 +9,3 @@ import { StatusCode } from "node-opcua-status-code"; | ||
declare type NumericalRange = any; | ||
export declare function encodeDataValue(dataValue: DataValue, stream: BinaryStream): void; | ||
export declare function encodeDataValue(dataValue: DataValue, stream: OutputBinaryStream): void; | ||
export declare function decodeDataValue(stream: BinaryStream): DataValue; | ||
@@ -37,3 +37,3 @@ export interface DataValueOptions { | ||
constructor(options?: DataValueOptions); | ||
encode(stream: BinaryStream): void; | ||
encode(stream: OutputBinaryStream): void; | ||
decode(stream: BinaryStream): void; | ||
@@ -40,0 +40,0 @@ decodeDebug(stream: BinaryStream, options: any): void; |
/** | ||
* @module node-opcua-data-value | ||
*/ | ||
import { BinaryStream } from "node-opcua-binary-stream"; | ||
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
import { Enum } from "node-opcua-enum"; | ||
@@ -17,4 +17,4 @@ export declare enum TimestampsToReturn { | ||
}; | ||
export declare function encodeTimestampsToReturn(value: TimestampsToReturn, stream: BinaryStream): void; | ||
export declare function encodeTimestampsToReturn(value: TimestampsToReturn, stream: OutputBinaryStream): void; | ||
export declare function decodeTimestampsToReturn(stream: BinaryStream): TimestampsToReturn; | ||
export declare const _enumerationTimestampsToReturn: Enum; |
@@ -5,3 +5,3 @@ { | ||
"types": "./dist/index.d.ts", | ||
"version": "2.0.0-alpha.11", | ||
"version": "2.0.0-alpha.12", | ||
"description": "pure nodejs OPCUA SDK - module -data-value", | ||
@@ -15,18 +15,18 @@ "scripts": { | ||
"node-opcua-assert": "^2.0.0-alpha.10", | ||
"node-opcua-basic-types": "^2.0.0-alpha.11", | ||
"node-opcua-binary-stream": "^2.0.0-alpha.10", | ||
"node-opcua-data-model": "^2.0.0-alpha.11", | ||
"node-opcua-date-time": "^2.0.0-alpha.10", | ||
"node-opcua-basic-types": "^2.0.0-alpha.12", | ||
"node-opcua-binary-stream": "^2.0.0-alpha.12", | ||
"node-opcua-data-model": "^2.0.0-alpha.12", | ||
"node-opcua-date-time": "^2.0.0-alpha.12", | ||
"node-opcua-enum": "^2.0.0-alpha.10", | ||
"node-opcua-factory": "^2.0.0-alpha.11", | ||
"node-opcua-factory": "^2.0.0-alpha.12", | ||
"node-opcua-nodeid": "^2.0.0-alpha.11", | ||
"node-opcua-status-code": "^2.0.0-alpha.10", | ||
"node-opcua-utils": "^2.0.0-alpha.10", | ||
"node-opcua-variant": "^2.0.0-alpha.11", | ||
"node-opcua-status-code": "^2.0.0-alpha.12", | ||
"node-opcua-utils": "^2.0.0-alpha.12", | ||
"node-opcua-variant": "^2.0.0-alpha.12", | ||
"underscore": "^1.9.1" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-generator": "^2.0.0-alpha.11", | ||
"node-opcua-numeric-range": "^2.0.0-alpha.11", | ||
"node-opcua-packet-analyzer": "^2.0.0-alpha.11", | ||
"node-opcua-generator": "^2.0.0-alpha.12", | ||
"node-opcua-numeric-range": "^2.0.0-alpha.12", | ||
"node-opcua-packet-analyzer": "^2.0.0-alpha.12", | ||
"should": "13.2.3" | ||
@@ -49,3 +49,3 @@ }, | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "bf7ea24732637e662af9b5b63941388e89fd3427" | ||
"gitHead": "61699a99c75c631388f2e8d8e33eb209649c5eac" | ||
} |
@@ -5,3 +5,3 @@ /** | ||
import { assert } from "node-opcua-assert"; | ||
import { BinaryStream } from "node-opcua-binary-stream"; | ||
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
import { DateWithPicoseconds, getCurrentClock } from "node-opcua-date-time"; | ||
@@ -62,3 +62,3 @@ import { | ||
export function encodeDataValue(dataValue: DataValue, stream: BinaryStream): void { | ||
export function encodeDataValue(dataValue: DataValue, stream: OutputBinaryStream): void { | ||
const encodingMask = getDataValue_EncodingByte(dataValue); | ||
@@ -325,3 +325,3 @@ assert(_.isFinite(encodingMask) && encodingMask >= 0 && encodingMask <= 0x3F); | ||
public encode(stream: BinaryStream): void { | ||
public encode(stream: OutputBinaryStream): void { | ||
encodeDataValue(this, stream); | ||
@@ -328,0 +328,0 @@ } |
/** | ||
* @module node-opcua-data-value | ||
*/ | ||
import { BinaryStream } from "node-opcua-binary-stream"; | ||
import { BinaryStream, OutputBinaryStream } from "node-opcua-binary-stream"; | ||
import { Enum } from "node-opcua-enum"; | ||
@@ -22,3 +22,3 @@ import { registerEnumeration } from "node-opcua-factory"; | ||
export function encodeTimestampsToReturn(value: TimestampsToReturn, stream: BinaryStream) { | ||
export function encodeTimestampsToReturn(value: TimestampsToReturn, stream: OutputBinaryStream) { | ||
stream.writeUInt32(value); | ||
@@ -25,0 +25,0 @@ } |
Sorry, the diff of this file is not supported yet
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
79155