decode a payload body and transfer the data over a channel