Class: DriveFSEmscriptenStreamOps#

contents.DriveFSEmscriptenStreamOps

Implements#

Constructors#

constructor#

new DriveFSEmscriptenStreamOps(fs)

Parameters#

Name

Type

fs

DriveFS

Defined in#

packages/contents/lib/drivefs.d.ts:80

Properties#

fs#

Private fs: any

Defined in#

packages/contents/lib/drivefs.d.ts:79

Methods#

close#

close(stream): void

Parameters#

Name

Type

stream

IEmscriptenStream

Returns#

void

Implementation of#

IEmscriptenStreamOps.close

Defined in#

packages/contents/lib/drivefs.d.ts:82


llseek#

llseek(stream, offset, whence): number

Parameters#

Name

Type

stream

IEmscriptenStream

offset

number

whence

number

Returns#

number

Implementation of#

IEmscriptenStreamOps.llseek

Defined in#

packages/contents/lib/drivefs.d.ts:85


open#

open(stream): void

Parameters#

Name

Type

stream

IEmscriptenStream

Returns#

void

Implementation of#

IEmscriptenStreamOps.open

Defined in#

packages/contents/lib/drivefs.d.ts:81


read#

read(stream, buffer, offset, length, position): number

Parameters#

Name

Type

stream

IEmscriptenStream

buffer

Uint8Array

offset

number

length

number

position

number

Returns#

number

Implementation of#

IEmscriptenStreamOps.read

Defined in#

packages/contents/lib/drivefs.d.ts:83


write#

write(stream, buffer, offset, length, position): number

Parameters#

Name

Type

stream

IEmscriptenStream

buffer

Uint8Array

offset

number

length

number

position

number

Returns#

number

Implementation of#

IEmscriptenStreamOps.write

Defined in#

packages/contents/lib/drivefs.d.ts:84