Directus / @directus/sdk / rest / readAssetArrayBuffer
Function: readAssetArrayBuffer() ​
readAssetArrayBuffer<
Schema
>(key
,query
?):RestCommand
<ArrayBuffer
,Schema
>
Read the contents of a file as a ArrayBuffer
Type Parameters ​
• Schema
Parameters ​
• key: DirectusFile
<Schema
>["id"
]
• query?: AssetsQuery
Returns ​
RestCommand
<ArrayBuffer
, Schema
>