pub fn parse_srt(text: &str) -> Result<ImportedCaptions, CaptionImportError>Expand description
Reads SubRip (.srt) text.
ยงErrors
Returns CaptionImportError::FileTooLarge or
CaptionImportError::TooManyCues for a file past the import limits.
pub fn parse_srt(text: &str) -> Result<ImportedCaptions, CaptionImportError>Reads SubRip (.srt) text.
Returns CaptionImportError::FileTooLarge or
CaptionImportError::TooManyCues for a file past the import limits.