numcodecs_combinators
numcodecs_combinators
Combinator codecs for the numcodecs buffer compression API.
The following combinators, implementing the CodecCombinatorMixin are provided:
CodecStack: a stack of codecs
Modules:
-
abc–This module defines the
CodecCombinatorMixinmixin, a common interface for all codec combinator classes. -
stack–This module defines the
CodecStackclass, which exposes a stack of codecs as a combined codec.
Functions:
-
map_codec–Apply the
mappercallable to thecodecand return the mapped codec.
map_codec
Apply the mapper callable to the codec and return the mapped codec.
If the codec implements the
CodecCombinatorMixin
mixin, the mapper is applied to its inner codecs recursively.
| Parameters: |
|---|
| Returns: |
|
|---|