注意: 此页面尚未翻译成中文。以下内容为英文原版。
value
, creating a copy if necessary to prevent any modifications of the returned value
from being reflected elsewhere.
Parameter | Type | Description |
---|---|---|
value | BytesLike | The value to convert to a Uint8Array. |
name ? | string | The name of the value for error context. |
Uint8Array
The typed Uint8Array.