Add array buffer and string conversion assuming utf8 encoding.