Closed maximiliannocker closed 2 years ago
It is not possible to pass an arraybuffer to the createLoadingTask method
Hi, can you tell a little more about what you want to achieve?
If you have an arrayBuffer, you can turn it into a Uint8Array
and pass it to the reader directly :
const dataArray = new Uint8Array(yourArrayBuffer);
And pass it directly:
<pdf src="{ data: dataArray }">
It is not possible to pass an arraybuffer to the createLoadingTask method