Skip to content

Conversation

@i2pi
Copy link

@i2pi i2pi commented May 19, 2025

OSC supports boolean arguments. Those arguments only appear in the type tags, with True encoded as T, and False as F. This is different from how, say, strings or integers, are encoded with 's' or 'i' in the type tag, and their contents placed in the arguments. Booleans have no arguments. This patch adds support for booleans by the addition of a booleanTrueCodec and booleanFalseCodec.

@pq
Copy link
Owner

pq commented May 21, 2025

Cool!

Could you add yourself to AUTHORS while you're at it?

And consider adding a few tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants