[haiku-appserver] BMessage AddData

Hi,

I'm having problems with BMessage::AddData(), typically when used with a B_UINT8_TYPE and with a size.
As I don't understand fully this code, could someone have a look at this method ? It doesn't handle every type codes the same way which is very weird.


I didn't find unit tests for this method. Having one would also be great.

The problem appears in input_server : no key_states is found in input messages, applications depending on these key states can't work as expected.

Thanks,
Jérôme


Other related posts: