Compress
openzl.ext.CCtx
__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 sys.getdefaultencoding(). errors defaults to 'strict'.
__init__()
method descriptor
init(self) -> None
__new__(*args, **kwargs)
builtin
Create and return a new object. See help(type) for accurate signature.
compress()
method descriptor
compress(self, arg: collections.abc.Sequence[openzl.ext.Input], /) -> bytes
get_parameter()
method descriptor
get_parameter(self, arg: openzl.ext.CParam, /) -> int
ref_compressor()
method descriptor
ref_compressor(self, arg: openzl.ext.Compressor, /) -> None
reset_parameters()
method descriptor
reset_parameters(self) -> None
select_starting_graph()
method descriptor
select_starting_graph(self, compressor: openzl.ext.Compressor, graph: openzl.ext.GraphID, *, name: str | None = None, custom_graphs: collections.abc.Sequence[openzl.ext.GraphID] | None = None, custom_nodes: collections.abc.Sequence[openzl.ext.NodeID] | None = None, local_params: openzl.ext.LocalParams | None = None) -> None
set_parameter()
method descriptor
set_parameter(self, arg0: openzl.ext.CParam, arg1: int, /) -> None