Type class that combines a ByteEncoder and a ByteDecoder for type A
ByteEncoder and ByteDecoder instances for primitives.
A type class that provides a way to produce a value of type A
from a byte array.
A type class that provides a conversion from a value of type A
to a byte array.