can pass ArrayBuffer to std::string