Search
Preparing search index...
The search index is not available
node-opcua-mono-repo
Support
Backers
Options
All
Public
Public/Protected
All
Inherited
Menu
ClientFile
Globals
Class ClientFile
Hierarchy
ClientFile
Constructors
constructor
Properties
fileHandle
useGlobalMethod
Methods
close
getPosition
open
openCount
read
setPosition
size
write
Constructors
constructor
new
Client
File
(
session
:
IBasicSession
, nodeId
:
NodeId
)
:
ClientFile
Parameters
session:
IBasicSession
nodeId:
NodeId
Returns
ClientFile
Properties
file
Handle
file
Handle
:
number
= 0
Static
use
Global
Method
use
Global
Method
:
boolean
= false
Methods
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Position
get
Position
(
)
:
Promise
<
UInt64
>
Returns
Promise
<
UInt64
>
open
open
(
mode
:
OpenFileMode
)
:
Promise
<
number
>
Parameters
mode:
OpenFileMode
Returns
Promise
<
number
>
open
Count
open
Count
(
)
:
Promise
<
UInt16
>
Returns
Promise
<
UInt16
>
read
read
(
bytesToRead
:
Int32
)
:
Promise
<
Buffer
>
Parameters
bytesToRead:
Int32
Returns
Promise
<
Buffer
>
set
Position
set
Position
(
position
:
UInt64
|
UInt32
)
:
Promise
<
void
>
Parameters
position:
UInt64
|
UInt32
Returns
Promise
<
void
>
size
size
(
)
:
Promise
<
UInt64
>
Returns
Promise
<
UInt64
>
write
write
(
data
:
Buffer
)
:
Promise
<
void
>
Parameters
data:
Buffer
Returns
Promise
<
void
>
Client
File
constructor
file
Handle
use
Global
Method
close
get
Position
open
open
Count
read
set
Position
size
write
Generated using
TypeDoc