decode

abstract fun decode(input: I): EitherNel<String, O>(source)

Attempts to decode the provided input.

Return

an EitherNel containing the decoded value or collected error messages.

Parameters

input

serialized value supplied by the transport layer.