[][src]Function flac_sys::FLAC__format_vorbiscomment_entry_value_is_legal

pub unsafe extern "C" fn FLAC__format_vorbiscomment_entry_value_is_legal(
    value: *const FLAC__byte,
    length: c_uint
) -> FLAC__bool

Check a Vorbis comment entry value to see if it conforms to the Vorbis comment specification.

Vorbis comment values must be valid UTF-8 sequences.

\param value A string to be checked. \param length A the length of \a value in bytes. May be \c (unsigned)(-1) to indicate that \a value is a plain UTF-8 NUL-terminated string. \assert \code value != NULL \endcode \retval FLAC__bool \c false if entry name is illegal, else \c true.