Vault.modifyBinary method
Vault › modifyBinary
Official
Modify the contents of a binary file.Signature:
modifyBinary(file: TFile, data: ArrayBuffer, options?: DataWriteOptions | undefined): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| file | TFile | The file |
| data | ArrayBuffer | The new file content |
| options? | DataWriteOptions | undefined | (Optional) |
Since: 0.9.7