- Preparing search index...
- The search index is not available
sdk-v2
- compose<I, IO, O>(codeca: Codec<I, IO, Error>, codecb: Codec<IO, O, Error>): Codec<I, O, Error>
-
Parameters
-
codeca: Codec<I, IO, Error>
-
codecb: Codec<IO, O, Error>
Returns Codec<I, O, Error>
Compose two codecs.
Generic
I - original input
Generic
IO - output of first codec, input for the second.
Generic
O - output of last codec