pub fn from_reader<R>(mut reader: R) -> BerylliumResult<Self>
        where R: Read
    {
        let mut bytes = vec![];
        reader.read_to_end(&mut bytes)?;
        Self::from_bytes(bytes)
    }
/// Open an image with the given reader. Note that this just
/// reads all bytes and passes it to `Image::from_bytes`
Open an image with the given reader. Note that this just
reads all bytes and passes it to `Image::from_bytes`
Open an image with the given reader . Note that this just reads all bytes and passes it to ` Image :: from_bytes `
pub fn from_reader<R>(mut reader: R) -> BerylliumResult<Self>
        where R: Read
    {
        let mut bytes = vec![];
        reader.read_to_end(&mut bytes)?;
        Self::from_bytes(bytes)
    }
pub fn from_reader < R > ( mut reader : R ) -> BerylliumResult < Self > where R : Read { let mut bytes = vec ! [ ] ; reader . read_to_end ( & mut bytes ) ? ; Self :: from_bytes ( bytes ) }
Open an image with the given reader.
Open an image with the given reader .
reader
R