Function maidsafe_utilities::serialisation::serialise_into_with_limit [] [src]

pub fn serialise_into_with_limit<T: Serialize, W: Write>(data: &T,
                                                         write: &mut W,
                                                         size_limit: Bounded)
                                                         -> Result<(), SerialisationError>

Serialise an Serialize type directly into a Write with max size limit specified.