Parameters
Compression Parameters
openzl.ext.CParam
Bases: enum.Enum
CompressedChecksum = 6
class-attribute
CompressionLevel = 2
class-attribute
ContentChecksum = 7
class-attribute
DecompressionLevel = 3
class-attribute
FormatVersion = 4
class-attribute
MinStreamSize = 11
class-attribute
PermissiveCompression = 5
class-attribute
StickyParameters = 1
class-attribute
__module__ = 'openzl.ext'
class-attribute
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.
openzl.ext.LocalParams
__module__ = 'openzl.ext'
class-attribute
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.
__init__()
method descriptor
init(self) -> None init(self, params: collections.abc.Mapping[int, int | bytes]) -> None
__new__(*args, **kwargs)
builtin
Create and return a new object. See help(type) for accurate signature.
add_param()
method descriptor
add_param(self, key: int, value: int | bytes) -> None
get_params()
method descriptor
get_params(self) -> dict[int, int | bytes]
Decompression Parameters
openzl.ext.DParam
Bases: enum.Enum
CheckCompressedChecksum = 2
class-attribute
CheckContentChecksum = 3
class-attribute
StickyParameters = 1
class-attribute
__module__ = 'openzl.ext'
class-attribute
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to 'utf-8'. errors defaults to 'strict'.