Padloc Logo Docs & Resources

Module: attachment

Classes

Interfaces

Type Aliases

AttachmentID

Ƭ AttachmentID: string

Defined in

core/src/attachment.ts:78

Functions

readFileAsArrayBuffer

readFileAsArrayBuffer(blob): Promise<ArrayBuffer>

Parameters

Name Type
blob File

Returns

Promise<ArrayBuffer>

Defined in

core/src/attachment.ts:27


readFileAsText

readFileAsText(blob): Promise<string>

Parameters

Name Type
blob File

Returns

Promise<string>

Defined in

core/src/attachment.ts:44


readFileAsUint8Array

readFileAsUint8Array(blob): Promise<Uint8Array>

Parameters

Name Type
blob File

Returns

Promise<Uint8Array>

Defined in

core/src/attachment.ts:9