Open klingtnet opened 1 year ago
This adds encode_tcp and fixes a bug when decoding a message that contains multiple packets. The implementation is still pretty basic, ideally encode_tcp should accept an Output trait object to encode into.
encode_tcp
Output
TODOS
decode_tcp
This adds
encode_tcp
and fixes a bug when decoding a message that contains multiple packets. The implementation is still pretty basic, ideallyencode_tcp
should accept anOutput
trait object to encode into.TODOS
decode_tcp
function was correct, I think. What I need to verify is, if it's okay to add OSC Packets to an OSC Bundle if the bundle comes first, because that's how the original implementation behaves. Commit https://github.com/klingtnet/rosc/pull/49/commits/53e7144c556e9216d2623de2dd86237e7bf0cbf7 reverts the "fix".