Click or drag to resize
SoGzipDataCompressor Class

Gzip data compression.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.LDM.CompressorsSoDataCompressor
      OIV.LDM.CompressorsSoGzipDataCompressor

Namespace: OIV.LDM.Compressors
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoGzipDataCompressor : SoDataCompressor

The SoGzipDataCompressor type exposes the following members.

Constructors
  NameDescription
Public methodSoGzipDataCompressor

Constructor.

Top
Methods
  NameDescription
Public methodAllocateCompressedBuffer

Allocates the internal buffer to hold the compressed data.

(Inherited from SoDataCompressor.)
Public methodCompress

Compresses the given buffer into the internal buffer.

(Inherited from SoDataCompressor.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCompressedBuffer

Returns the compressed data.

(Inherited from SoDataCompressor.)
Public methodGetCompressionFormatName

Returns the name of the compression algorithm used by this class.

(Inherited from SoDataCompressor.)
Public methodGetCompressionLevel

Returns the compression level.

(Inherited from SoDataCompressor.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsLossless

Returns true if the compression algorithm is lossless.

(Inherited from SoDataCompressor.)
Public methodSetCompressionLevel

Sets the compression level.

(Inherited from SoDataCompressor.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUncompress

Uncompresses data from the internal buffer to the given buffer.

(Inherited from SoDataCompressor.)
Top
Remarks

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.

See Also