Skip to content

copyUnsharedUint8Array

copyUnsharedUint8Array(value, minimumLength, maximumLength, field?): Uint8Array

Defined in: packages/core/src/utils.ts:699

Validate and detach an untrusted byte view without consulting overridable instance properties. Genuine cross-realm Uint8Arrays are accepted, while SharedArrayBuffer-backed views and typed-array lookalikes are rejected.

unknown

number

number

string = 'bytes'

Uint8Array