Create a new ByteEncoder for type B
by applying a function to a value of type B
before encoding as an A
.
Create a new ByteEncoder for type B
by applying a function to a value of type B
before encoding as an A
.
Create a new ByteDecoder for type B
by applying a function which might fail to a value of type A
after decoding.
Create a new ByteDecoder for type B
by applying a function which might fail to a value of type A
after decoding.
Create a new ByteCodec by flatMapping the ByteDecoder and contramapping the ByteEncoder to type B
Create a new ByteCodec by mapping the ByteDecoder and contramapping the ByteEncoder to type B
Create a new ByteDecoder for type B
by applying a function to a value of type A
after decoding.
Create a new ByteDecoder for type B
by applying a function to a value of type A
after decoding.
Type class that combines a ByteEncoder and a ByteDecoder for type
A