Interface: IEmscriptenStreamOps#

contents.IEmscriptenStreamOps

Implemented by#

Methods#

close#

close(stream): void

Parameters#

Name

Type

stream

IEmscriptenStream

Returns#

void

Defined in#

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


llseek#

llseek(stream, offset, whence): number

Parameters#

Name

Type

stream

IEmscriptenStream

offset

number

whence

number

Returns#

number

Defined in#

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


open#

open(stream): void

Parameters#

Name

Type

stream

IEmscriptenStream

Returns#

void

Defined in#

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


read#

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

Parameters#

Name

Type

stream

IEmscriptenStream

buffer

Uint8Array

offset

number

length

number

position

number

Returns#

number

Defined in#

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


write#

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

Parameters#

Name

Type

stream

IEmscriptenStream

buffer

Uint8Array

offset

number

length

number

position

number

Returns#

number

Defined in#

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