parse

fun parse(content: String): SubtitleCueList

Parses an SRT file content into a SubtitleCueList.

Return

A SubtitleCueList containing the parsed subtitle cues

Parameters

content

The SRT file content as a string