Skip to content

CapacitorAdapterFs.readBinary method

CapacitorAdapterFs › readBinary

Unofficial

Read a file as binary data.

Signature:

readBinary(realPath: string): Promise<ArrayBuffer>

Parameters:

Parameter Type Description
realPath string File path to read.

Returns: Promise<ArrayBuffer>Binary content of the file.