Search
Preparing search index...
The search index is not available
BrowserFS
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
EmscriptenFile
Class EmscriptenFile
Hierarchy
BaseFile
EmscriptenFile
Implements
File
Index
Constructors
constructor
Methods
chmod
chmod
Sync
chown
chown
Sync
close
close
Sync
datasync
datasync
Sync
get
Pos
read
read
Sync
stat
stat
Sync
sync
sync
Sync
truncate
truncate
Sync
utimes
utimes
Sync
write
write
Sync
Constructors
constructor
new
Emscripten
File
(
_fs
:
EmscriptenFileSystem
, _FS
:
any
, _path
:
string
, _stream
:
any
)
:
EmscriptenFile
Parameters
_fs:
EmscriptenFileSystem
_FS:
any
_path:
string
_stream:
any
Returns
EmscriptenFile
Methods
chmod
chmod
(
mode
:
number
, cb
:
BFSOneArgCallback
)
:
void
Parameters
mode:
number
cb:
BFSOneArgCallback
Returns
void
chmod
Sync
chmod
Sync
(
mode
:
number
)
:
void
Parameters
mode:
number
Returns
void
chown
chown
(
uid
:
number
, gid
:
number
, cb
:
BFSOneArgCallback
)
:
void
Parameters
uid:
number
gid:
number
cb:
BFSOneArgCallback
Returns
void
chown
Sync
chown
Sync
(
uid
:
number
, gid
:
number
)
:
void
Parameters
uid:
number
gid:
number
Returns
void
close
close
(
cb
:
BFSOneArgCallback
)
:
void
Parameters
cb:
BFSOneArgCallback
Returns
void
close
Sync
close
Sync
(
)
:
void
Returns
void
datasync
datasync
(
cb
:
BFSOneArgCallback
)
:
void
Parameters
cb:
BFSOneArgCallback
Returns
void
datasync
Sync
datasync
Sync
(
)
:
void
Returns
void
get
Pos
get
Pos
(
)
:
number
|
undefined
Returns
number
|
undefined
read
read
(
buffer
:
NodeBuffer
, offset
:
number
, length
:
number
, position
:
number
, cb
:
BFSThreeArgCallback
)
:
void
Parameters
buffer:
NodeBuffer
offset:
number
length:
number
position:
number
cb:
BFSThreeArgCallback
Returns
void
read
Sync
read
Sync
(
buffer
:
NodeBuffer
, offset
:
number
, length
:
number
, position
:
number
|
null
)
:
number
Parameters
buffer:
NodeBuffer
offset:
number
length:
number
position:
number
|
null
Returns
number
stat
stat
(
cb
:
BFSCallback
)
:
void
Parameters
cb:
BFSCallback
Returns
void
stat
Sync
stat
Sync
(
)
:
Stats
Returns
Stats
sync
sync
(
cb
:
BFSOneArgCallback
)
:
void
Parameters
cb:
BFSOneArgCallback
Returns
void
sync
Sync
sync
Sync
(
)
:
void
Returns
void
truncate
truncate
(
len
:
number
, cb
:
BFSOneArgCallback
)
:
void
Parameters
len:
number
cb:
BFSOneArgCallback
Returns
void
truncate
Sync
truncate
Sync
(
len
:
number
)
:
void
Parameters
len:
number
Returns
void
utimes
utimes
(
atime
:
Date
, mtime
:
Date
, cb
:
BFSOneArgCallback
)
:
void
Parameters
atime:
Date
mtime:
Date
cb:
BFSOneArgCallback
Returns
void
utimes
Sync
utimes
Sync
(
atime
:
Date
, mtime
:
Date
)
:
void
Parameters
atime:
Date
mtime:
Date
Returns
void
write
write
(
buffer
:
NodeBuffer
, offset
:
number
, length
:
number
, position
:
number
, cb
:
BFSThreeArgCallback
)
:
void
Parameters
buffer:
NodeBuffer
offset:
number
length:
number
position:
number
cb:
BFSThreeArgCallback
Returns
void
write
Sync
write
Sync
(
buffer
:
NodeBuffer
, offset
:
number
, length
:
number
, position
:
number
|
null
)
:
number
Parameters
buffer:
NodeBuffer
offset:
number
length:
number
position:
number
|
null
Returns
number
Globals
Emscripten
File
constructor
chmod
chmod
Sync
chown
chown
Sync
close
close
Sync
datasync
datasync
Sync
get
Pos
read
read
Sync
stat
stat
Sync
sync
sync
Sync
truncate
truncate
Sync
utimes
utimes
Sync
write
write
Sync
Generated using
TypeDoc