Skip to main content
注意: このページはまだ日本語に翻訳されていません。以下は英語の原文です。
Returns the UTF-8 byte representation of str. If form is specified, the string is normalized.

Parameters

Returns

Uint8Array The UTF-8 byte representation.

Throws

If the UTF-8 conversion fails.

Source

encoding/utf8.ts:285