allow passing Int8Array and Uint8Array directly to std::string