Allows two codecs to be combined in to a single codec that produces a tuple.
Allows two codecs to be combined in to a single codec that produces a tuple.
Allows creation of left nested tuples by successive usage of ~
operator.
Allows creation of left nested tuples by successive usage of ~
operator.
Type alias for Tuple2 in order to allow left nested tuples to be written as A ~ B ~ C ~ .
Type alias for Tuple2 in order to allow left nested tuples to be written as A ~ B ~ C ~ ....
Operator alias for flatZip
.
Operator alias for flatZip
.
Returns a new codec that encodes/decodes a value of type B
by using an iso between A
and B
.
Returns a new codec that encodes/decodes a value of type B
by using an iso between A
and B
.
Attempts to decode a value of type A
from the specified bit vector.
Attempts to encode the specified value in to a bit vector.
Returns a new codec that encodes/decodes a value of type (A, B)
where the codec of B
is dependent on A
.
Returns a new codec that encodes/decodes a value of type (A, B)
where the codec of B
is dependent on A
.
Lifts this codec in to a codec of a singleton hlist, which allows easy binding to case classes of one argument.
Lifts this codec in to a codec of a singleton hlist, which allows easy binding to case classes of one argument.
Maps to a codec of type B
.
Maps to a codec of type B
.
Extractor that allows pattern matching on the tuples created by tupling codecs.
Extractor that allows pattern matching on the tuples created by tupling codecs.