次の方法で共有


gzip_compress_to_base64_string()

適用対象: ✅Microsoft FabricAzure データ エクスプローラーAzure MonitorMicrosoft Sentinel

gzip 圧縮を実行し、結果を base64 にエンコードします。

構文

gzip_compress_to_base64_string(string)

構文規則について詳しく知る。

パラメーター

件名 タイプ Required Description
string string ✔️ 圧縮および base64 エンコードされる値。 この関数は引数を 1 つだけ受け入れます。

返品

  • gzip で圧縮され、Base64 でエンコードされた元の文字列を表す string を返します。
  • 圧縮またはエンコードに失敗した場合は、空の結果を返します。

print res = gzip_compress_to_base64_string("1234567890qwertyuiop")
res
H4sIAAAAAAAA/wEUAOv/MTIzNDU2Nzg5MHF3ZXJ0eXVpb3A6m7f2FAAAAA==