Attempts to encode |string| to UTF-8, then safely write the result to a file at |path|. Works exactly like |write|.
Resolves with the number of bytes successfully written to the file, otherwise rejects with a DOMException.
Generated using TypeDoc
Attempts to encode |string| to UTF-8, then safely write the result to a file at |path|. Works exactly like |write|.
Returns
Resolves with the number of bytes successfully written to the file, otherwise rejects with a DOMException.