Function ink::storage::traits::decode_all

source ·
pub fn decode_all<T>(input: &mut &[u8]) -> Result<T, Error>
where T: Storable,
Expand description

Decode and consume all of the given input data.

If not all data is consumed, an error is returned.