Vttyl v0.1.0 Vttyl View Source
Quick and dirty conveniences for working with utf8 encoded vtt files.
Link to this section Summary
Link to this section Functions
Link to this function
parse(content)
View Source
parse(content)
View Source
parse(String.t()) :: [Vttyl.Part.t()]
parse(String.t()) :: [Vttyl.Part.t()]
Parse a string.
This drops badly formatted vtt files. Consult your local doctor to ensure you formatted it correctly.
Link to this function
parse_stream(content)
View Source
parse_stream(content)
View Source
parse_stream(Enumerable.t()) :: Enumerable.t()
parse_stream(Enumerable.t()) :: Enumerable.t()
Parse a stream of utf8 encoded characters.
This returns a stream so you decide how to handle it!