Skip to content

非公式本サイトは非公式の日本語ドキュメントであり、Cloudflare 公式サイトではありません。最新情報はdevelopers.cloudflare.comをご確認ください。

エンコード関数

最終更新 Markdown で表示Agent セットアップ

bin 新規

使い方:

bin(<expression>)

bin は、引数のバイナリ表現を含む文字列を返します。

例:

-- get the binary representation of 1
bin(1)
-- get the binary representation of a string`
bin('abc')

hex 新規

使い方:

hex(<expression>)

hex は、引数の 16 進数表現を含む文字列を返します。

例:

-- get the hexadecimal representation of 1
hex(1)
-- get the hexadecimal representation of a string`
hex('abc')

役に立ちましたか?