Function get_marker

Source
pub fn get_marker<T>(
    reader: &mut ZByteReader<T>,
    stream: &mut BitStream,
) -> Result<Marker, DecodeErrors>
where T: ZReaderTrait,
Expand description

Get a marker from the bit-stream.

This reads until it gets a marker or end of file is encountered