Skip to main content

read_tag

Function read_tag 

Source
pub fn read_tag<R: Read + Seek>(reader: &mut R) -> ApeResult<Option<ApeTag>>
Expand description

Reads an APE tag from the end of a seekable stream.

Returns Ok(None) if no APE tag is found (file too small, no valid footer, etc.). Returns Ok(Some(tag)) on success, or Err(...) on I/O or format errors.