Read raw bytes for a specific UTI type as a Uint8Array.
Uint8Array
This is the binary counterpart to readData(), avoiding base64 encoding overhead when working with images, PDFs, or SQLite BLOBs.
readData()
A UTI type string (e.g. "public.png", "com.adobe.pdf")
"public.png"
"com.adobe.pdf"
The raw bytes for the UTI, or null if the type is not available
Read raw bytes for a specific UTI type as a
Uint8Array.This is the binary counterpart to
readData(), avoiding base64 encoding overhead when working with images, PDFs, or SQLite BLOBs.