pub fn read_headers<'a, T: Read + Seek + 'a>(
    rdr: &mut PacketReader<T>
) -> Result<(HeaderSet, u32), VorbisError>
Expand description

Reads the three vorbis headers from an ogg stream as well as stream serial information

Please note that this function doesn’t work well with async I/O. In order to support this use case, enable the async_ogg feature, and use the HeadersReader struct instead.