Accept data as ArrayBuffer, not only Buffer