Skip to content

CapacitorAdapterFs.writeBinaryInternal method

CapacitorAdapterFs › writeBinaryInternal

Unofficial

Write binary data to a file using the internal storage path.

Signature:

writeBinaryInternal(realPath: string, data: ArrayBuffer): Promise<void>

Parameters:

Parameter Type Description
realPath string File path to write to.
data ArrayBuffer Binary data to write.

Returns: Promise<void>A promise that resolves when the file is written.