decode

open override fun decode(bytes: ByteArray, contentType: String)

Decodes the byte array into the type T.

Parameters

bytes

The byte array to decode.

contentType

The content type of the response, if available.