Write raw bytes for a specific UTI type, replacing all current contents.
This is the binary counterpart to writeData(), accepting a Uint8Array, any other typed array, or an ArrayBuffer.
writeData()
Uint8Array
ArrayBuffer
The raw bytes to write
A UTI type string (e.g. "public.png", "com.adobe.pdf")
"public.png"
"com.adobe.pdf"
true if the write succeeded
Write raw bytes for a specific UTI type, replacing all current contents.
This is the binary counterpart to
writeData(), accepting aUint8Array, any other typed array, or anArrayBuffer.