Function symphonia_core::codecs::decl_codec_type
source · pub const fn decl_codec_type(cc: &[u8]) -> CodecType
Expand description
Declares a new CodecType
given a character code. A character code is an ASCII string
containing a maximum of 5 alphanumeric characters.
Note: Due to the current limitations of const fn, this function is not able to panic on error. Therefore, if the character code contains an invalid character, then the character is dropped. Additionally, any extra characters will be truncated.