Binary.Compress
Binary.Compress(binary as nullable binary,compressionType as Compression.Type) as nullable binary
使用给定的压缩类型压缩二进制值。此调用的结果是输入的压缩后副本。压缩类型包括:
Compression.GZip
Compression.Deflate
示例:
压缩二进制值。
使用情况:
Binary.Compress(Binary.FromList(List.Repeat({10}, 1000)), Compression.Deflate)
输出:
#binary({227, 226, 26, 5, 163, 96, 20, 12, 119, 0, 0})