pub fn from_encoded_bytes_with_hint(
        encoded_bytes: &[u8],
        decode_args: DecodeArgs,
        file_extension: &str,
        mime_type: &str,
    ) -> Result<Self, Error> {
        let owned = encoded_bytes.to_owned();
        let encoded_stream = std::io::Cursor::new(owned);
        Self::from_encoded_stream_with_hint(encoded_stream, decode_args, file_extension, mime_type)
    }
/// Decodes audio in an in-memory byte array, using user-specified encoding hints.
Decodes audio in an in-memory byte array, using user-specified encoding hints.
Decodes audio in an in - memory byte array using user - specified encoding hints .
pub fn from_encoded_bytes_with_hint(
        encoded_bytes: &[u8],
        decode_args: DecodeArgs,
        file_extension: &str,
        mime_type: &str,
    ) -> Result<Self, Error> {
        let owned = encoded_bytes.to_owned();
        let encoded_stream = std::io::Cursor::new(owned);
        Self::from_encoded_stream_with_hint(encoded_stream, decode_args, file_extension, mime_type)
    }
pub fn from_encoded_bytes_with_hint ( encoded_bytes : & [ u8 ] , decode_args : DecodeArgs , file_extension : & str , mime_type : & str , ) -> Result < Self , Error > { let owned = encoded_bytes . to_owned ( ) ; let encoded_stream = std :: io :: Cursor :: new ( owned ) ; Self :: from_encoded_stream_with_hint ( encoded_stream , decode_args , file_extension , mime_type ) }
Decodes audio in an in-memory byte array, using user-specified encoding hints.
Decodes audio in an in - memory byte array using user - specified encoding hints .
encoded_bytes
&[u8]
decode_args
DecodeArgs
file_extension
&str
mime_type
&str
encoded_bytes
&[u8]
decode_args
DecodeArgs
file_extension
&str
mime_type
&str