when pass "" to setPeerData, now it use nullPtr in the FFI end.