Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Syntax
Binary.Compress(binary as nullable binary, compressionType as number) as nullable binary
About
Compresses a binary value using the given compression type. The result of this call is a compressed copy of the input. Compression types include:
Example 1
Compress the binary value.
Usage
Binary.Compress(Binary.FromList(List.Repeat({10}, 1000)), Compression.Deflate)
Output
#binary({227, 226, 26, 5, 163, 96, 20, 12, 119, 0, 0})