Public Member Functions | |
| ZlibCompressParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| ZlibCompressParams () | |
| ZlibCompressParams (meshlib.ZlibCompressParams _other) | |
| meshlib.ZlibCompressParams | assignFromAnother (meshlib.ZlibCompressParams _other) |
| int | level () |
| void | setLevel (int value) |
| java.lang.foreign.MemorySegment | stats () |
| void | setStats (meshlib.ZlibCompressStats value) |
| boolean | rawDeflate () |
| void | setRawDeflate (boolean value) |
| meshlib.ZlibParams | upcastToZlibParams () |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Static Public Member Functions | |
| static meshlib.ZlibCompressParams | staticDowncastFromZlibParams (meshlib.ZlibParams object) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
parameters for zlibCompressStream (adds a compression level on top of ZlibParams) Generated from class MR::ZlibCompressParams. Base classes: Direct: (non-virtual) MR::ZlibParams
Instances created here own their C++ objects, see CppObject.
| meshlib.ZlibCompressParams.ZlibCompressParams | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.ZlibCompressParams.ZlibCompressParams | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_ZlibCompressParams_DefaultConstruct().
| meshlib.ZlibCompressParams.ZlibCompressParams | ( | meshlib.ZlibCompressParams | _other | ) |
Generated from constructor MR::ZlibCompressParams::ZlibCompressParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_ZlibCompressParams_ConstructFromAnother().
| meshlib.ZlibCompressParams meshlib.ZlibCompressParams.assignFromAnother | ( | meshlib.ZlibCompressParams | _other | ) |
Generated from method MR::ZlibCompressParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_ZlibCompressParams_AssignFromAnother().
| int meshlib.ZlibCompressParams.level | ( | ) |
compression level: 0 = no compression, 1 = the fastest but the most inefficient, 9 = the most efficient but the slowest; -1 = zlib's default Returns a pointer to a member variable of class MR::ZlibCompressParams named level. The reference to this object might be preserved as the return value.
Calls MR_ZlibCompressParams_Get_level().
| boolean meshlib.ZlibCompressParams.rawDeflate | ( | ) |
wire format of the (de)compressed bytes: true → raw deflate (RFC 1951, no wrapper) — suitable for a ZIP entry; false (default) → zlib-wrapped (RFC 1950) Returns a pointer to a member variable of class MR::ZlibCompressParams named rawDeflate. The reference to this object might be preserved as the return value.
Calls MR_ZlibCompressParams_Get_rawDeflate().
| void meshlib.ZlibCompressParams.setLevel | ( | int | value | ) |
compression level: 0 = no compression, 1 = the fastest but the most inefficient, 9 = the most efficient but the slowest; -1 = zlib's default Modifies a member variable of class MR::ZlibCompressParams named level.
Calls MR_ZlibCompressParams_Set_level().
| void meshlib.ZlibCompressParams.setRawDeflate | ( | boolean | value | ) |
wire format of the (de)compressed bytes: true → raw deflate (RFC 1951, no wrapper) — suitable for a ZIP entry; false (default) → zlib-wrapped (RFC 1950) Modifies a member variable of class MR::ZlibCompressParams named rawDeflate.
Calls MR_ZlibCompressParams_Set_rawDeflate().
| void meshlib.ZlibCompressParams.setStats | ( | meshlib.ZlibCompressStats | value | ) |
optional output; if non-null, the pointed-to object is populated with CRC-32 of the input and the uncompressed / compressed byte totals Modifies a member variable of class MR::ZlibCompressParams named stats. The reference to the parameter value might be preserved in this object in element stats.
Calls MR_ZlibCompressParams_Set_stats().
|
static |
Static downcast from the base class MR::ZlibParams. Undefined behavior if the object isn't actually a ZlibCompressParams. The result refers to object.
Calls MR_ZlibCompressParams_MutableStaticDowncastFrom_MR_ZlibParams().
| java.lang.foreign.MemorySegment meshlib.ZlibCompressParams.stats | ( | ) |
optional output; if non-null, the pointed-to object is populated with CRC-32 of the input and the uncompressed / compressed byte totals Returns a pointer to a member variable of class MR::ZlibCompressParams named stats. The reference to this object might be preserved as the return value.
Calls MR_ZlibCompressParams_Get_stats(). Some types are raw C types, see the C bindings for the details.
| meshlib.ZlibParams meshlib.ZlibCompressParams.upcastToZlibParams | ( | ) |
Upcasts to the base class MR::ZlibParams. The result refers to this object.
Calls MR_ZlibCompressParams_MutableUpcastTo_MR_ZlibParams().