pub fn decode_value<P: Payload>( bytes: &mut &[u8], payload: &P, metadata: &Metadata, ) -> Result<P::ReturnType, Error>
Decode the value bytes at the location given by the provided View Function payload.