# Compress Method Compresses a given object using the `gzip` algorithm. ## Definition **Namespace:** CapyKit.Helpers **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d **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