Core
struct.arrayBuffer
Struct that accepts an ArrayBuffer.
@defjs/core · Function
Signature
function arrayBuffer(): Struct<ArrayBuffer, ArrayBuffer>;
-
Accepts an
ArrayBufferonly. Typed arrays and other views fail withinvalid_type. -
As a body root it is sent as bytes with
application/octet-stream. -
As an
outputorerrorstruct it makes the response body be read as anArrayBuffer.