Function ink_storage_traits::decode_all

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

Decode and consume all of the given input data.

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