One place for one awkwardness: @cloudflare/workers-types and @types/node disagree about the
generic parameter on Uint8Array, so a Uint8Array<ArrayBufferLike> is rejected as a body or a
blob part under one of them whichever way it is written. An owned ArrayBuffer is accepted by
both. The copy is paid once per module at upload time and never on a request path.
Copies bytes into a plain
ArrayBuffer.One place for one awkwardness: @cloudflare/workers-types and @types/node disagree about the generic parameter on
Uint8Array, so aUint8Array<ArrayBufferLike>is rejected as a body or a blob part under one of them whichever way it is written. An ownedArrayBufferis accepted by both. The copy is paid once per module at upload time and never on a request path.