Skip to Content

VaultAttachmentSource

Defined in: src/lib/chatStore/vaultAttachments.ts:53 

A file read in pieces, so a large upload never holds the whole file in memory.

Properties

size

size: number

Defined in: src/lib/chatStore/vaultAttachments.ts:54 

Methods

read()

read(offset: number, length: number): Promise<Uint8Array<ArrayBufferLike>>

Defined in: src/lib/chatStore/vaultAttachments.ts:55 

Parameters

ParameterType

offset

number

length

number

Returns

Promise<Uint8Array<ArrayBufferLike>>

Last updated on