Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

SRTReader

Simple srt reader

简单的一个SRT读取工具

Quickly Start

var ins = new SRTReader();
ins.Load(<your srt string>);//you can call Load() for reusing SRTReader
TimeSpan time = <your movie current time>;
string subtitle = ins.GetByTime(time);

References

The code use BoysheO.Buffers.PooledBuffer and Collections.Pooled ,but you can replace them easliy.Remove IDisposable,use List instead of PooledList and use ToList() instead of ToPooledListBuffer().

About

Useful srt reader

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages