Just say ArrayBufferView:

> Writes data to a file. `data` can be a string or an ArrayBufferView