Function decode_stream
pub fn decode_stream(
stream: &mut impl Read,
) -> Result<Codec<'_>, SkCodec_Result>Expand description
Attempts to decode the given bytes as a GIF.
If the bytes are not a GIF, returns an error Result explaining the reason for the
failure.