Binary.Compress

语法

Binary.Compress(binary as nullable binary, compressionType as number) as nullable binary

关于

使用给定的压缩类型压缩二进制值。 此调用的结果是输入的压缩副本。 压缩类型包括:

示例 1

压缩二进制值。

使用情况

Binary.Compress(Binary.FromList(List.Repeat({ 10 }, 1000)), Compression.Deflate)

输出

#binary({ 227, 226, 26, 5, 163, 96, 20, 12, 119, 0, 0 })

results matching ""

    No results matching ""