toByteArrayCodec

Converts a StringCodec into a ByteArrayCodec using UTF-8 byte conversion.

Return

a codec that encodes to byte arrays and decodes via string conversion.

Parameters

T

domain type handled by the codec.

See also