pub fn read_mdl<R: Read>(
reader: &mut R,
mdx_bytes: Option<&[u8]>,
) -> Result<Mdl, MdlError>Expand description
Reads an MDL file from the given reader.
This buffers the entire stream to memory.
ยงErrors
MdlError::Io when the stream will not read to end, and whatever
read_mdl_from_bytes reports for the bytes it collected.