• 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.

    Returns Promise<unsigned_long_long>

Generated using TypeDoc