[][src]Function ub::deserialize::parse

pub fn parse<'a, R: Read + Seek>(
    reader: &'a RefCell<&'a mut R>
) -> Result<Files<'a, R>, Error>

General parse function. Will recognise version and call the appropriate function. reader should not be buffered.

Errors

If a version is not supported, it will return a Error::VersionNotSupported. All other errors are inherited from the related versions functions. Check Error for possible values.