Function maidsafe_utilities::serialisation::deserialise_with_limit [] [src]

pub fn deserialise_with_limit<T>(data: &[u8], size_limit: SizeLimit) -> Result<T, SerialisationError> where T: Decodable

Deserialise a Decodable type with max size limit specified.