xbee communication not working with class

Create a pointer pointing nowhere. Write some data there. Send back that garbage.

could you show me some example code?

I'm not surprised that it "didn't work" for some definition of work.

my definition of not work is that it compiles but does nothing when uploaded onto my arduino.

Why is message a pointer? It should not be.

My version(1.0.1) says that you have to pass an array or pointer to readBytes