The data1 print "hello,world", data2 is nil.
It seems that istream read function is not working, are there any good solutions?
I think the memcpy is