Add mock QLab server and tests, fix OSC typetag parsing off-by-one

This commit is contained in:
Ian Gulliver
2026-02-14 08:20:59 -08:00
parent 2f77c727ef
commit 273437ff04
3 changed files with 551 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ func parseOSC(data []byte) (addr string, args []any, err error) {
ttEnd++
}
typetag := string(data[pos+1 : ttEnd])
pos = ttEnd + 1 + oscPad(ttEnd-pos)
pos = ttEnd + 1 + oscPad(ttEnd-pos+1)
for _, t := range typetag {
switch t {