decode

abstract fun decode(payload: Slice): CompletableFuture<Slice>

Decodes the given payload. This is applied before deserialization.

Return

a future completed with the decoded payload

Parameters

payload

the payload to decode.