注意: 此页面尚未翻译成中文。以下内容为英文原版。
value
. If already a Uint8Array the original value
is returned; if a copy is required
use getBytesCopy.
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.