You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correct me if I'm wrong but right now if I allocate a message with a number of bytes, ex: 512, and try to setData with the same number of bytes it actually returns a warning and does nothing, so I have to allocate the message with the size 513 to be able to copy.
maybe the <= in this line should be only a less than
if (getSize() <= index) {
Cheers
Dimitre
The text was updated successfully, but these errors were encountered:
dimitre
changed the title
ofxArtnetMessage complains if I try to send the mes
ofxArtnetMessage setData size issue
Feb 6, 2021
"physical is an information packet showing the original physical universe of this data, if required. Then follows up to 512 lighting values in the range 0 to 255."
Correct me if I'm wrong but right now if I allocate a message with a number of bytes, ex: 512, and try to setData with the same number of bytes it actually returns a warning and does nothing, so I have to allocate the message with the size 513 to be able to copy.
maybe the <= in this line should be only a less than
if (getSize() <= index) {
Cheers
Dimitre
The text was updated successfully, but these errors were encountered: