pass Array Buffer to constructor

This isn't actually checking the right buffer, b2.