Fix buffer_data behavior to work with typed arrays