Support ArrayBuffer - resolves #26