Function decode_value

Source
pub fn decode_value<P: Payload>(
    bytes: &mut &[u8],
    payload: &P,
    metadata: &Metadata,
) -> Result<P::ReturnType, Error>
Expand description

Decode the value bytes at the location given by the provided View Function payload.