ArrayBuffer converter