MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstZlibCompressParams Class Reference
Inheritance diagram for mrmeshpy.ConstZlibCompressParams:

Public Member Functions

 __init__ (self, *args, **kwargs)
int level (self)
ZlibCompressStats stats (self)
Public Member Functions inherited from mrmeshpy.ConstZlibParams
 __init__ (self, *args, **kwargs)
bool rawDeflate (self)

Static Protected Attributes

typing _offsetof_level = 4
typing _offsetof_stats = 8
Static Protected Attributes inherited from mrmeshpy.ConstZlibParams
typing _offsetof_rawDeflate = 0

Detailed Description

Generated from:  MR::ZlibCompressParams

parameters for zlibCompressStream (adds a compression level on top of ZlibParams)

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstZlibCompressParams.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstZlibCompressParams) -> None

2. __init__(self: meshlib.mrmeshpy.ConstZlibCompressParams, arg0: meshlib.mrmeshpy.ConstZlibCompressParams) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstZlibCompressParams, : meshlib.mrmeshpy.ConstZlibCompressParams) -> None

Member Function Documentation

◆ level()

int mrmeshpy.ConstZlibCompressParams.level ( self)
compression level: 0 = no compression, 1 = the fastest but the most inefficient,
9 = the most efficient but the slowest; -1 = zlib's default

Reimplemented in mrmeshpy.ZlibCompressParams, and mrmeshpy.ZlibCompressParams.

◆ stats()

ZlibCompressStats mrmeshpy.ConstZlibCompressParams.stats ( self)
optional output; if non-null, the pointed-to object is populated with
CRC-32 of the input and the uncompressed / compressed byte totals

Reimplemented in mrmeshpy.ZlibCompressParams, and mrmeshpy.ZlibCompressParams.

Member Data Documentation

◆ _offsetof_level

typing mrmeshpy.ConstZlibCompressParams._offsetof_level = 4
staticprotected

◆ _offsetof_stats

typing mrmeshpy.ConstZlibCompressParams._offsetof_stats = 8
staticprotected

The documentation for this class was generated from the following file: