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 decode a value of type A from the specified bit vector.
Attempts to encode the specified value in to a 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.
Codec that encrypts and decrypts using a
javax.crypto.Cipher.Encoding a value of type A is delegated to the specified codec and the resulting bit vector is encrypted with a cipher provided by the implicit cipher factory.
Decoding first decrypts all of the remaining bits and then decodes the decrypted bits with the specified codec. Successful decoding always returns no remaining bits, even if the specified codec does not consume all decrypted bits.