SoGzipDataCompressor Class |
Gzip data compression.
Namespace: OIV.LDM.Compressors
The SoGzipDataCompressor type exposes the following members.
Name | Description | |
---|---|---|
![]() | SoGzipDataCompressor | Constructor. |
Name | Description | |
---|---|---|
![]() | AllocateCompressedBuffer | Allocates the internal buffer to hold the compressed data. |
![]() | Compress | Compresses the given buffer into the internal buffer. |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | GetCompressedBuffer | Returns the compressed data. |
![]() | GetCompressionFormatName | Returns the name of the compression algorithm used by this class. |
![]() | GetCompressionLevel | Returns the compression level. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsLossless | Returns true if the compression algorithm is lossless. |
![]() | SetCompressionLevel | Sets the compression level. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Uncompress | Uncompresses data from the internal buffer to the given buffer. |
This class implements a compression scheme based on zlib. It is a lossless compression and can be used on any data set type.
The setCompressionLevel method (inherited from OIV.LDM.Compressors.SoDataCompressor or in OIV.LDM.Converters.SoConverterParameters) accepts values between 0 and 9. 0 gives no compression, 9 gives best compression but slower speed. Default is 3.