Constructors
constructor
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:42
Parameters
Properties
length
length: number
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:38
Methods
readArrayBuffer
readArrayBuffer( length: number ) : Uint8Array
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:143
Parameters
Returns Uint8Array
readByte
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:101
Returns number
the value read
readByteStream
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:150
Returns Buffer
readDouble
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:130
Returns number
readFloat
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:126
Returns number
readInt16
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:110
Returns number
readInt8
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:102
Returns number
readInteger
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:118
Returns number
readString
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:151
Returns string
readUInt16
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:114
Returns number
readUInt32
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:122
Returns number
readUInt8
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:106
Returns number
rewind
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:48
Returns void
writeArrayBuffer
writeArrayBuffer( arrayBuf: ArrayBuffer , offset?: number , length?: number ) : void
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:96
Parameters
arrayBuf: ArrayBuffer
Optional offset: number
Optional length: number
Returns void
writeByteStream
writeByteStream( buf: Buffer ) : void
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:137
Parameters
Returns void
writeDouble
writeDouble( value: number ) : void
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:90
Parameters
Returns void
writeFloat
writeFloat( value: number ) : void
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:85
Parameters
Returns void
writeInt16
writeInt16( value: number ) : void
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:64
Parameters
Returns void
writeInt8
writeInt8( value: number ) : void
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:54
Parameters
Returns void
writeInteger
writeInteger( value: number ) : void
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:74
Parameters
Returns void
writeString
writeString( value: string ) : void
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:138
Parameters
Returns void
writeUInt16
writeUInt16( value: number ) : void
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:69
Parameters
Returns void
writeUInt32
writeUInt32( value: number ) : void
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:80
Parameters
Returns void
writeUInt8
writeUInt8( value: number ) : void
Defined in packages/node-opcua-binary-stream/dist/binaryStream.d.ts:59
Parameters
Returns void
Legend
Variable
Function
Function with type parameter
Type alias
Type alias with type parameter
Class
Constructor
Property
Method
Interface
Interface with type parameter
a BinaryStream can be use to perform sequential read or write inside a buffer. The BinaryStream maintains a cursor up to date as the caller operates on the stream using the various read/write methods. It uses the Little Endian It uses the Little Endian convention.
data can either be:
example: