# Compress Method Compresses a given object using the `gzip` algorithm. ## Definition **Namespace:** CapyKit.Helpers **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# public static byte[] Compress( Object obj ) ``` **F#** ``` F# static member Compress : obj : Object -> byte[] ``` #### Parameters
  Object
The object.
#### Return Value Byte[] A byte array representing the compressed object in `gzip` format. ## See Also #### Reference CompressionHelper Class CapyKit.Helpers Namespace