-
-
Save jasdev/10b020d235aee27ee86cf2c0afc4cc34 to your computer and use it in GitHub Desktop.
Two- and three-padded hours, minutes, seconds, and milliseconds parsers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let timecodeHours = Prefix(2).pipe(Int.parser(isSigned: false)) | |
let timecodeMinutes = Prefix(2).pipe(Int.parser(isSigned: false)) | |
let timecodeSeconds = Prefix(2).pipe(Int.parser(isSigned: false)) | |
let timecodeMilliseconds = Prefix(3).pipe(Int.parser(isSigned: false)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment