CapacitorAdapterFs.writeBinary method
CapacitorAdapterFs › writeBinary
Unofficial
Write binary data to a file.Signature:
writeBinary(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.