Function prc::read_stream [−][src]
pub fn read_stream<R>(reader: &mut R) -> Result<ParamStruct, Error> where
R: Read + Seek,
Attempts to read a param file from the given reader (requires Seek). The reader should be positioned at the header of the filetype. Returns a ParamStruct if successful, otherwise an Error.