Grasshopper API
GH_CompressionCompress Method |
Compress an array of bytes using the Deflate algorithm.
Namespace: GH_IO.Serialization
Assembly: GH_IO (in GH_IO.dll)

public static byte[] Compress( byte[] data )
Public Shared Function Compress ( data As Byte() ) As Byte()
Parameters
- data
- Type: SystemByte
Byte array to compress.
Return Value
Type: ByteAn array of compressed bytes.
