pub fn write_to_aiff_path(
        &self,
        path: impl AsRef<Path>,
        version: Version,
    ) -> crate::Result<()> {
        let mut file = fs::OpenOptions::new()
            .read(true)
            .write(true)
            .create(false)
            .truncate(false)
            .open(path)?;
        chunk::write_id3_chunk_file::<chunk::AiffFormat>(&mut file, self, version)?;
        file.flush()?;
        Ok(())
    }
/// Overwrite WAV file ID3 chunk in a file
Overwrite WAV file ID3 chunk in a file
Overwrite WAV file ID3 chunk in a file
pub fn write_to_aiff_path(
        &self,
        path: impl AsRef<Path>,
        version: Version,
    ) -> crate::Result<()> {
        let mut file = fs::OpenOptions::new()
            .read(true)
            .write(true)
            .create(false)
            .truncate(false)
            .open(path)?;
        chunk::write_id3_chunk_file::<chunk::AiffFormat>(&mut file, self, version)?;
        file.flush()?;
        Ok(())
    }
pub fn write_to_aiff_path ( & self , path : impl AsRef < Path > , version : Version , ) -> crate :: Result < ( ) > { let mut file = fs :: OpenOptions :: new ( ) . read ( true ) . write ( true ) . create ( false ) . truncate ( false ) . open ( path ) ? ; chunk :: write_id3_chunk_file :: < chunk :: AiffFormat > ( & mut file , self , version ) ? ; file . flush ( ) ? ; Ok ( ( ) ) }
Overwrite WAV file ID3 chunk in a file
Overwrite WAV file ID3 chunk in a file
&self
path
impl AsRef<Path>
version
Version
&self
path
impl AsRef<Path>
version
Version