[][src]Function flac_sys::FLAC__metadata_simple_iterator_delete_block

pub unsafe extern "C" fn FLAC__metadata_simple_iterator_delete_block(
    iterator: *mut FLAC__Metadata_SimpleIterator,
    use_padding: FLAC__bool
) -> FLAC__bool

Deletes the block at the current position. This will cause the entire FLAC file to be rewritten, unless \a use_padding is \c true, in which case the block will be replaced by an equal-sized PADDING block. The iterator will be left pointing to the block before the one just deleted.

You may not delete the STREAMINFO block.

\param iterator A pointer to an existing initialized iterator. \param use_padding See above. \assert \code iterator != NULL \endcode \a iterator has been successfully initialized with FLAC__metadata_simple_iterator_init() \retval FLAC__bool \c true if successful, else \c false.